git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git-svn fetch updating master

From
Mike Hommey <mh@glandium.org>
Date
Aug 16, 2007, 08:27 UTC
Message-ID
<20070816082706.GA29521@glandium.org>
In-Reply-To
<20070816080349.GA16849@muzzle>
On Thu, Aug 16, 2007 at 01:03:49AM -0700, Eric Wong <normalperson@yhbt.net> wrote:
Show 11 quoted lines
> Mike Hommey <mh@glandium.org> wrote:
> > Hi,
> > 
> > I was wondering why the master branch was hardcoded to be updated in
> > post_fetch_checkout() in git-svn. Why not allow to use another branch ?
> 
> It shouldn't update master if it the branch already exists and is a
> valid ref.
> 
> The default for git-clone is to create "master", too, so I wanted
> git-svn clone behavior to be the same.
git-svn fetch is not only invoqued at cloning time...

My problem is that I (purposely) removed the master branch, so git-svn fetch is creating it again every time I run to update the svn branch...

Mike
Previous: Eric WongNext: Eric Wong
Message 3 of 4 in “git-svn fetch updating master”
  1. Mike HommeyAug 15, 2007
  2. Eric WongAug 16, 2007
  3. Mike HommeyAug 16, 2007
  4. Eric WongAug 16, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.