X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=git-stash.sh;h=c76669284ce48411b0cd580c5943e3eb0a785884;hb=dbdc07fcbe3a951df8a3869b42edb6fffd466486;hp=31dec0abf13ee7d6ded313b24253cd12254f1685;hpb=3b425656a469722d9c45b7c88e0e01a9cd8c0fd3;p=git.git diff --git a/git-stash.sh b/git-stash.sh index 31dec0abf..c76669284 100755 --- a/git-stash.sh +++ b/git-stash.sh @@ -211,7 +211,7 @@ save_stash () { if test -n "$patch_mode" && test -n "$untracked" then - die "Can't use --patch and ---include-untracked or --all at the same time" + die "Can't use --patch and --include-untracked or --all at the same time" fi stash_msg="$*" @@ -240,7 +240,7 @@ save_stash () { test "$untracked" = "all" && CLEAN_X_OPTION=-x || CLEAN_X_OPTION= if test -n "$untracked" then - git clean --force --quiet $CLEAN_X_OPTION + git clean --force --quiet -d $CLEAN_X_OPTION fi if test "$keep_index" = "t" && test -n $i_tree