Browse Source

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>
maint
Stephen Haberman 17 years ago committed by Shawn O. Pearce
parent
commit
2a79d2f662
  1. 2
      git-stash.sh

2
git-stash.sh

@ -161,7 +161,7 @@ show_stash () { @@ -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

Loading…
Cancel
Save