From cec0d5a3bbde60db4589d8e84a36d0ade653472e Mon Sep 17 00:00:00 2001 From: Steven Grimm Date: Thu, 29 Nov 2007 11:54:39 -0800 Subject: [PATCH] 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 Acked-by: Eric Wong --- git-svn.perl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/git-svn.perl b/git-svn.perl index 8dbaf2f33..9f884eb21 100755 --- a/git-svn.perl +++ b/git-svn.perl @@ -550,6 +550,8 @@ sub cmd_rebase { exit 1; } unless ($_local) { + # rebase will checkout for us, so no need to do it explicitly + $_no_checkout = 'true'; $_fetch_all ? $gs->fetch_all : $gs->fetch; } command_noisy(rebase_cmd(), $gs->refname); -- 2.26.2