diff options
author | Jeff King <peff@peff.net> | 2007-07-02 06:20:34 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-07-02 06:38:27 +0200 |
commit | 006a86646434e5212defdea59092059fe41387b0 (patch) | |
tree | 771975b5e2f5a93388df01994e25ca9753f12b17 | |
parent | git-stash: fix "no arguments" case in documentation (diff) | |
download | git-006a86646434e5212defdea59092059fe41387b0.tar.xz git-006a86646434e5212defdea59092059fe41387b0.zip |
git-stash: fix "can't shift that many" with no arguments
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rwxr-xr-x | git-stash.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-stash.sh b/git-stash.sh index ec18ef6d46..7644bd5a23 100755 --- a/git-stash.sh +++ b/git-stash.sh @@ -133,7 +133,7 @@ apply_stash () { # Main command set case "$1" in list | '') - shift + test $# -gt 0 && shift if test $# = 0 then set x -n 10 |