From: Junio C Hamano Date: Wed, 23 Jul 2008 20:33:44 +0000 (-0700) Subject: stash save: fix parameter handling X-Git-Tag: v1.6.0-rc1~61 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=47629dcff0fc75d58f9319d221a78934358e4ef8;p=git.git 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 --- diff --git a/git-stash.sh b/git-stash.sh index e4cb6c3e4..d4609ed66 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