author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | |
Wed, 1 Aug 2007 22:31:03 +0000 (23:31 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 2 Aug 2007 01:17:56 +0000 (18:17 -0700) | ||
commit | c9e6589288b09f4e631c7f12f0f9a77c29851632 | |
tree | 1c4d1aa4483d4e619b2e0eea7c38660b938fbce9 | tree | snapshot |
parent | 434e6ef89d73dcc812b3a44dfaff0ca8204a206e | commit | diff |
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 <johannes.schindelin@gmx.de>
Acked-by: Alex Riesen <raa.lkml@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
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 <johannes.schindelin@gmx.de>
Acked-by: Alex Riesen <raa.lkml@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-rebase--interactive.sh | diff | blob | history | |
t/t3404-rebase-interactive.sh | diff | blob | history |