rebase -i: fix for optional [branch] parameter
authorJohannes Schindelin <redacted>
Wed, 1 Aug 2007 22:31:03 +0000 (23:31 +0100)
committerJunio C Hamano <redacted>
Thu, 2 Aug 2007 01:17:56 +0000 (18:17 -0700)
commitc9e6589288b09f4e631c7f12f0f9a77c29851632
tree1c4d1aa4483d4e619b2e0eea7c38660b938fbce9
parent434e6ef89d73dcc812b3a44dfaff0ca8204a206e
rebase -i: fix for optional [branch] parameter

When calling "git rebase -i <upstream> <branch>", git should switch
to <branch> first.  This worked before, but I broke it by my
"Shut git rebase -i up" patch.

Fix that, and add a test to make sure that it does not break again.

Signed-off-by: Johannes Schindelin <redacted>
Acked-by: Alex Riesen <redacted>
Signed-off-by: Junio C Hamano <redacted>
git-rebase--interactive.sh
t/t3404-rebase-interactive.sh
git clone https://git.99rst.org/PROJECT