git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [BUG?] git stash pop results in conflict
@ 2010-03-24  2:01 Tim Mazid
  2010-03-24 10:34 ` Michael J Gruber
  0 siblings, 1 reply; 2+ messages in thread
From: Tim Mazid @ 2010-03-24  2:01 UTC (permalink / raw)
  To: Git Mailing List


Hi,
 
I'm not sure if this is a bug or if it should be thus.
 
Basically, a 'git stash --keep-index' followed immediately by a 'git stash pop' (no changes made) will result in a conflict.
 
Steps to reproduce:
 
 
Put
 
"AAA
BBB
CCC"
 
into file 'test'
 
$ git add test
$ git commit -m "A"
 
Append lines
 
"DDD
EEE
FFF
GGG"
 
into file 'test'
 
$ git add -p
 
Press 'e' and remove the "FFF" and "GGG" files from the patch, to stage only the "DDD" and "EEE" files.
 
$ git stash --keep-index
$ git stash pop
 
CONFLICT
 
 
I hope that's clear enough.
 
Cheers,
Tim. 		 	   		  
_________________________________________________________________
Link all your email accounts and social updates with Hotmail. Find out now.
http://windowslive.ninemsn.com.au/oneinbox?ocid=T162MSN05A0710G

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-03-24 10:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-24  2:01 [BUG?] git stash pop results in conflict Tim Mazid
2010-03-24 10:34 ` Michael J Gruber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).