[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#9503: 24.0.50; (vc-git): After applying a stash, refresh of *vc-dir*
bug#9503: 24.0.50; (vc-git): After applying a stash, refresh of *vc-dir* is a must
Thu, 15 Sep 2011 13:37:55 +0530
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (windows-nt)
Andreas Schwab <address@hidden> writes:
> Jambunathan K <address@hidden> writes:
>> Applying stash on a dirty tree produces the following error message from
>> "Cannot apply to a dirty working tree, please stage your changes"
>> Even if one is applyin stashes serially, one HAS to always commit the
>> stash before applying the next one.
> Only if the stashes overlap.
That is what I would have expected but that is not what I observed with
a little test that stashed *two different* files on the same HEAD.
My git version is 126.96.36.199. The release notes for git 188.8.131.52 has the
| * "git stash apply" used to refuse to work if there was any change in
| the working tree, even when the change did not overlap with the
| change the stash recorded.
So I would (favorably) assume that the above bug is also present in
184.108.40.206 version of git. I agree that I shouldn't have based my opinions
on a buggy behaviour and trusted my instincts.
Anyways, the maintainers have agreed to the change I requested. So the
above note is only to clarify my eariler comments.