rebase --skip: correctly wrap-up when skipping the last patch
commitef88ad238779c4eadba9f179146fe213f047b89f
authorJunio C Hamano <gitster@pobox.com>
Thu, 23 Dec 2010 00:50:28 +0000 (22 16:50 -0800)
committerJunio C Hamano <gitster@pobox.com>
Thu, 23 Dec 2010 00:50:28 +0000 (22 16:50 -0800)
tree2830c1801a97e9e2c3e408ecaf7d89459c14d422
parent77e572653b5089c9e3639fe4088f59e4cfef4eea
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 <gitster@pobox.com>
git-am.sh
t/t5407-post-rewrite-hook.sh