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

Re: git-svn stubbornly re-creating branch "master"

From
Marcin Owsiany <marcin@owsiany.pl>
Date
Jun 14, 2009, 15:52 UTC
Message-ID
<20090614155205.GC11730@beczulka>
In-Reply-To
<20090606105501.GA29758@beczulka>
On Sat, Jun 06, 2009 at 11:55:01AM +0100, Marcin Owsiany wrote:
Show 22 quoted lines
> This discussion seems to have stalled...
> 
> On Fri, Apr 03, 2009 at 12:57:52PM +0200, Mikael Magnusson wrote:
> > 2009/3/29 Dmitry Potapov <dpotapov@gmail.com>:
> > > On Sun, Mar 29, 2009 at 18:13:47 +0100, Marcin Owsiany
> > > <porridge@debian.org> wrote:
> > >>
> > >> As you can see, "master" sprang back to life after the last command.
> > >
> > > It looks like git-svn does not like a repo without 'master'. It seems
> > > the problem was caused by this patch:
> > > http://git.kernel.org/?p=git/git.git;a=commit;h=1e889ef36c45b5554f7e317493ed3f4f901f8d9f
> > >
> > > I have added Eric to CC...
> > 
> > Why not just check if HEAD points to a valid commit, rather than
> > master? It should do the same
> > in the newly created repo case, and stop annoying people on updates.
> 
> There seems to be agreement that while conventions are nice, git should
> not force branch names on people. Can someone implement Mikael's
> suggestion?
[silence]

OK, a different question, then: if I wrote a patch to implement the behaviour described by Mikael, would you consider including it?

-- 
Marcin Owsiany <marcin@owsiany.pl>              http://marcin.owsiany.pl/
GnuPG: 1024D/60F41216  FE67 DA2D 0ACA FC5E 3F75  D6F6 3A0D 8AA0 60F4 1216
 
"Every program in development at MIT expands until it can read mail."
                                                              -- Unknown
Previous: Marcin OwsianyNext: Andreas Ericsson
Message 5 of 10 in “git-svn stubbornly re-creating branch "master"”
  1. Marcin OwsianyMar 29, 2009
  2. Dmitry PotapovMar 29, 2009
  3. Mikael MagnussonApr 3, 2009
  4. Marcin OwsianyJun 6, 2009
  5. Marcin OwsianyJun 14, 2009
  6. Andreas EricssonJun 14, 2009
  7. Marcin OwsianyJun 14, 2009
  8. Eric WongMar 29, 2009
  9. David KågedalApr 3, 2009
  10. Marcin OwsianyApr 3, 2009

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.