@matheusbsbs / matheus-bagliano / commits / cec0d5a3bb
Fork 0

git-svn: Don't create a "master" branch every time rebase is run

If you run "git-svn rebase" while sitting on a topic branch, there is no need to create a "master" branch if one didn't exist already. The branch was created implicitly by the automatic checkout after fetching, which in the case of rebase isn't actually necessary anyway. Signed-off-by: Steven Grimm <koreth@midwinter.com> Acked-by: Eric Wong <normalperson@yhbt.net>

Steven Grimm committed Nov 29, 2007 at 11:54 UTC cec0d5a3bbde60db4589d8e84a36d0ade653472e
1 file changed +2
git-svn.perl
+2
@@ -550,6 +550,8 @@ sub cmd_rebase {
550 exit 1;
551 }
552 unless ($_local) {
553 + # rebase will checkout for us, so no need to do it explicitly
554 + $_no_checkout = 'true';
555 $_fetch_all ? $gs->fetch_all : $gs->fetch;
556 }
557 command_noisy(rebase_cmd(), $gs->refname);