git-rebase -i: clean-up error check codepath.
commitab11903225270be7001b8c92f6ac4e165eaf4ecf
authorJunio C Hamano <gitster@pobox.com>
Sun, 30 Dec 2007 20:51:42 +0000 (30 12:51 -0800)
committerJunio C Hamano <gitster@pobox.com>
Sun, 30 Dec 2007 20:51:42 +0000 (30 12:51 -0800)
tree092934090170c2c85b4ab4171321294cbe6624c4
parent8ad1065e580c03035c583e2d237cc5b76f90cee4
git-rebase -i: clean-up error check codepath.

After replaying a single change, the code performed a number of checks,
but some of them were for sanity checking, failures from which should
make the command abort, and others were checks to see if it should make
a new commit object.  Stringing them together with "&&" was wrong.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-rebase--interactive.sh