Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
stash: simplify option parser for create
[gitweb.git]
/
git-stash.sh
diff --git
a/git-stash.sh
b/git-stash.sh
index bbefdf64244063f4708f381b8a772466d64e90e5..64800b8c945cbb478797eaa564c7c857494a6f44 100755
(executable)
--- a/
git-stash.sh
+++ b/
git-stash.sh
@@
-546,10
+546,7
@@
clear)
clear_stash "$@"
;;
create)
- if test $# -gt 0 && test "$1" = create
- then
- shift
- fi
+ shift
create_stash "$*" && echo "$w_commit"
;;
drop)