Re: [BUG] git stash --keep-index undeletes file

2019-04-16 Thread Thomas Gummerer
Your interpretation of what should happen sounds like the right behaviour here, and what actually happens seems incorrect. I don't have time to dig into this more right now though unfortunately. > ____________________ > From: Thomas Gummerer > Sent: Tuesday,

Re: [BUG] git stash --keep-index undeletes file

2019-04-16 Thread Christian Vetter
hould result in zero change to the output of `git status`. What am I not getting? From: Thomas Gummerer Sent: Tuesday, April 16, 2019 20:48 To: Christian Vetter Cc: git@vger.kernel.org Subject: Re: [BUG] git stash --keep-index undeletes file On 04/16, Chri

Re: [BUG] git stash --keep-index undeletes file

2019-04-16 Thread Thomas Gummerer
On 04/16, Christian Vetter wrote: > Steps to reproduce > + mkdir git-stash-test > + cd git-stash-test > + git init > + touch file > + git add file > + git commit -m init > + git rm file > + git stash push --keep-index > > > Result: > `git status` gives this output: > > On branch master > > Cha

[BUG] git stash --keep-index undeletes file

2019-04-16 Thread Christian Vetter
Steps to reproduce + mkdir git-stash-test + cd git-stash-test + git init + touch file + git add file + git commit -m init + git rm file + git stash push --keep-index Result: `git status` gives this output: > On branch master > Changes to be committed: > (use "git reset HEAD ..." to unstage)