From 9488e875862de4e3c9b022ecd9d0845bc28d1996 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Sun, 1 Jul 2007 15:29:01 -0700 Subject: git-stash: require "save" to be explicit and update documentation Signed-off-by: Junio C Hamano --- git-stash.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'git-stash.sh') diff --git a/git-stash.sh b/git-stash.sh index c8c5c5648e..ec18ef6d46 100755 --- 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 ;; *) -- cgit v1.2.1