Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-07-24 00:33:44 +0400
committerJunio C Hamano <gitster@pobox.com>2008-07-24 03:57:03 +0400
commit47629dcff0fc75d58f9319d221a78934358e4ef8 (patch)
treedf8e6b804362ce540de264ef6d01e0f49323bd82 /git-stash.sh
parentc8fe1980b2b8e5c61f05a59d3bf9dedd5afa8faa (diff)
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>
Diffstat (limited to 'git-stash.sh')
-rwxr-xr-xgit-stash.sh4
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