Subject: bug#9503: 24.0.50; (vc-git): After applying a stash, refresh of *vc-dir* is a must

From: Jambunathan K <[email-masked]>
Date: Thu, 15 Sep 2011 10:05:55 +0530

Juanma Barranquero <[email-masked]> writes:

>> (vc-git): After applying a stash, refresh of *vc-dir* is a must.
>>
>> Currently I do this manually.
>
> Refreshing *vc-dir* can be slow. What if you apply several stashes
> consecutively?

Applying stash on a dirty tree produces the following error message from
git:

--8<---------------cut here---------------start------------->8---
"Cannot apply to a dirty working tree, please stage your changes"
--8<---------------cut here---------------end--------------->8---

Even if one is applyin stashes serially, one HAS to always commit the
stash before applying the next one. 

>     Juanma