stash: refresh the index before deciding if the work tree is dirty
authorJunio C Hamano <gitster@pobox.com>
Thu, 4 Sep 2008 09:41:22 +0000 (02:41 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sat, 6 Sep 2008 23:16:42 +0000 (16:16 -0700)
commit1eff26c0e25652ec60e1f9f1c35fc02c8ad22d98
tree8bcc39ac32b177b1c99622f8514f6f2662ce0962
parent1b118da8bd1878d78589afd9f755b9d52a9579ad
stash: refresh the index before deciding if the work tree is dirty

Unlike the case where the user does have a real change in the work tree,
refusing to work because of unclean stat information is not very helpful.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
Acked-by: Nanako Shiraishi <nanako3@lavabit.com>
git-stash.sh