diff options
Diffstat (limited to 'git-stash.sh')
-rwxr-xr-x | git-stash.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/git-stash.sh b/git-stash.sh index 777d1e1351..16979ab41f 100755 --- a/git-stash.sh +++ b/git-stash.sh @@ -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 ;; *) |