Clarify how the user can satisfy stash's 'dirty state' check.

Signed-off-by: Stephen Haberman <stephen@exigencecorp.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
This commit is contained in:
Stephen Haberman 2008-09-29 04:12:04 -05:00 committed by Shawn O. Pearce
parent 41f13af558
commit 2a79d2f662

View file

@ -161,7 +161,7 @@ show_stash () {
apply_stash () {
git update-index -q --refresh &&
git diff-files --quiet --ignore-submodules ||
die 'Cannot restore on top of a dirty state'
die 'Cannot apply to a dirty working tree, please stage your changes'
unstash_index=
case "$1" in