diff options
author | Junio C Hamano <gitster@pobox.com> | 2008-07-23 13:33:44 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-07-23 16:57:03 -0700 |
commit | 47629dcff0fc75d58f9319d221a78934358e4ef8 (patch) | |
tree | df8e6b804362ce540de264ef6d01e0f49323bd82 | |
parent | git-am: Add colon before the subject that is printed out as being applied (diff) | |
download | tgif-47629dcff0fc75d58f9319d221a78934358e4ef8.tar.xz |
stash save: fix parameter handling
A command line "git stash save --keep-index I was doing this" was
misparsed and keep-index codepath did not trigger.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rwxr-xr-x | git-stash.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/git-stash.sh b/git-stash.sh index e4cb6c3e4b..d4609ed66e 100755 --- a/git-stash.sh +++ b/git-stash.sh @@ -93,7 +93,7 @@ save_stash () { shift esac - stash_msg="$1" + stash_msg="$*" if no_changes then @@ -267,7 +267,7 @@ show) ;; save) shift - save_stash "$*" + save_stash "$@" ;; apply) shift |