Commit 47629dcf authored by Junio C Hamano's avatar Junio C Hamano

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: default avatarJunio C Hamano <gitster@pobox.com>
parent c8fe1980
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment