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>
Junio C Hamano committed
Jul 23, 2008 at 13:33 UTC
47629dcff0fc75d58f9319d221a78934358e4ef8
1 file changed
+2
-2
git-stash.sh
+2
-2
@@ -93,7 +93,7 @@ save_stash () {
93
shift
94
esac
95
96
- stash_msg="$1"
96
+ stash_msg="$*"
97
98
if no_changes
99
then
@@ -267,7 +267,7 @@ show)
267
;;
268
save)
269
shift
270
- save_stash "$*"
270
+ save_stash "$@"
271
;;
272
apply)
273
shift