From 47629dcff0fc75d58f9319d221a78934358e4ef8 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Wed, 23 Jul 2008 13:33:44 -0700 Subject: [PATCH] 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 --- git-stash.sh | 4 ++-- 1 file 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 -- 2.11.4.GIT