From ef88ad238779c4eadba9f179146fe213f047b89f Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Wed, 22 Dec 2010 16:50:28 -0800 Subject: rebase --skip: correctly wrap-up when skipping the last patch When "rebase --skip" is used to skip the last patch in the series, the code to wrap up the rewrite by copying the notes from old to new commits and also by running the post-rewrite hook was bypassed. Signed-off-by: Junio C Hamano --- git-am.sh | 7 ------- 1 file changed, 7 deletions(-) (limited to 'git-am.sh') diff --git a/git-am.sh b/git-am.sh index de116a29e..69474e5da 100755 --- a/git-am.sh +++ b/git-am.sh @@ -554,13 +554,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` -- cgit v1.2.1