Browse Source

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>
maint
Jeff King 18 years ago committed by Junio C Hamano
parent
commit
006a866464
  1. 2
      git-stash.sh

2
git-stash.sh

@ -133,7 +133,7 @@ apply_stash () { @@ -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

Loading…
Cancel
Save