From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcin Owsiany Subject: Re: git-svn stubbornly re-creating branch "master" Date: Sun, 14 Jun 2009 16:52:05 +0100 Message-ID: <20090614155205.GC11730@beczulka> References: <20090329171347.GA26866@beczulka> <37fcd2780903291252i19bba8ccx9dfb73e763d95b15@mail.gmail.com> <237967ef0904030357u15ef77f2rb3299b6f6c651404@mail.gmail.com> <20090606105501.GA29758@beczulka> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Dmitry Potapov , git@vger.kernel.org, Eric Wong To: Mikael Magnusson X-From: git-owner@vger.kernel.org Sun Jun 14 17:52:37 2009 Return-path: Envelope-to: gcvg-git-2@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by lo.gmane.org with esmtp (Exim 4.50) id 1MFs0a-0007P5-Vd for gcvg-git-2@gmane.org; Sun, 14 Jun 2009 17:52:37 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762342AbZFNPwR (ORCPT ); Sun, 14 Jun 2009 11:52:17 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1762253AbZFNPwR (ORCPT ); Sun, 14 Jun 2009 11:52:17 -0400 Received: from mail-ew0-f210.google.com ([209.85.219.210]:43379 "EHLO mail-ew0-f210.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1762307AbZFNPwQ (ORCPT ); Sun, 14 Jun 2009 11:52:16 -0400 Received: by ewy6 with SMTP id 6so4338880ewy.37 for ; Sun, 14 Jun 2009 08:52:17 -0700 (PDT) Received: by 10.216.52.78 with SMTP id d56mr2018026wec.143.1244994736893; Sun, 14 Jun 2009 08:52:16 -0700 (PDT) Received: from beczulka (dsl-49-57.dsl.netsource.ie [213.79.49.57]) by mx.google.com with ESMTPS id i34sm8354547gve.28.2009.06.14.08.52.14 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 14 Jun 2009 08:52:16 -0700 (PDT) Received: from mowsiany by beczulka with local (Exim 4.69) (envelope-from ) id 1MFs05-0003IV-Jc; Sun, 14 Jun 2009 16:52:05 +0100 Content-Disposition: inline In-Reply-To: <20090606105501.GA29758@beczulka> User-Agent: Mutt/1.5.17+20080114 (2008-01-14) Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: On Sat, Jun 06, 2009 at 11:55:01AM +0100, Marcin Owsiany wrote: > This discussion seems to have stalled... > > On Fri, Apr 03, 2009 at 12:57:52PM +0200, Mikael Magnusson wrote: > > 2009/3/29 Dmitry Potapov : > > > On Sun, Mar 29, 2009 at 18:13:47 +0100, Marcin Owsiany > > > 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 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