git-stash: make "save" the default action again.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Junio C Hamano
2007-07-02 23:15:45 -07:00
parent 5be60078c9
commit fcb10a9648
2 changed files with 7 additions and 6 deletions

View File

@ -137,8 +137,8 @@ apply_stash () {
# Main command set
case "$1" in
list | '')
test $# -gt 0 && shift
list)
shift
if test $# = 0
then
set x -n 10
@ -157,7 +157,7 @@ apply)
clear)
clear_stash
;;
save)
save | '')
save_stash && git-reset --hard
;;
*)