summaryrefslogtreecommitdiff
path: root/git-am.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-12-28 11:26:59 -0800
committerJunio C Hamano <gitster@pobox.com>2010-12-28 11:26:59 -0800
commit5765870d531913310e4a1980aa6256003d1decae (patch)
treea7c3a54305bc8ae5c08bb4bd88134c7e2d73a085 /git-am.sh
parentf3bb8b4b8452f1b7add220e787ef56c737ceff6a (diff)
parentef88ad238779c4eadba9f179146fe213f047b89f (diff)
downloadgit-5765870d531913310e4a1980aa6256003d1decae.tar.gz
Merge branch 'jc/maint-rebase-rewrite-last-skip'
* jc/maint-rebase-rewrite-last-skip: rebase --skip: correctly wrap-up when skipping the last patch
Diffstat (limited to 'git-am.sh')
-rwxr-xr-xgit-am.sh7
1 files changed, 0 insertions, 7 deletions
diff --git a/git-am.sh b/git-am.sh
index cf1f64b574..6cdd5910db 100755
--- a/git-am.sh
+++ b/git-am.sh
@@ -577,13 +577,6 @@ then
resume=
fi
-if test "$this" -gt "$last"
-then
- say Nothing to do.
- rm -fr "$dotest"
- exit
-fi
-
while test "$this" -le "$last"
do
msgnum=`printf "%0${prec}d" $this`