My Various Git Projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8fe198
)
stash save: fix parameter handling
author
Junio C Hamano
<gitster@pobox.com>
Wed, 23 Jul 2008 20:33:44 +0000
(13:33 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 23 Jul 2008 23:57:03 +0000
(16:57 -0700)
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>
git-stash.sh
patch
|
blob
|
history
diff --git
a/git-stash.sh
b/git-stash.sh
index
e4cb6c3
..
d4609ed
100755
(executable)
--- 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