Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-stash: require "save" to be explicit and update documentation
[gitweb.git]
/
git-stash.sh
diff --git
a/git-stash.sh
b/git-stash.sh
index c8c5c5648efa20d8c565da63279c57ad76767101..ec18ef6d46e5c44330f60fa52ddadde08b242e0c 100755
(executable)
--- a/
git-stash.sh
+++ b/
git-stash.sh
@@
-132,7
+132,7
@@
apply_stash () {
# Main command set
case "$1" in
-list)
+list
| ''
)
shift
if test $# = 0
then
@@
-152,7
+152,7
@@
apply)
clear)
clear_stash
;;
-
''
)
+
save
)
save_stash && git-reset --hard
;;
*)