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

Re: git-svn fetch updating master

From
EWEric Wong <normalperson@yhbt.net>
Date
Aug 16, 2007, 08:03 UTC
Message-ID
<20070816080349.GA16849@muzzle>
In-Reply-To
<20070815181228.GA6363@glandium.org>
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.

-- 
Eric Wong
Previous: Mike HommeyNext: Mike Hommey
Message 2 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.