From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Wong Subject: Re: git-svn fetch updating master Date: Thu, 16 Aug 2007 01:03:49 -0700 Message-ID: <20070816080349.GA16849@muzzle> References: <20070815181228.GA6363@glandium.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Git Mailing List To: Mike Hommey X-From: git-owner@vger.kernel.org Thu Aug 16 10:04:05 2007 Return-path: Envelope-to: gcvg-git@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by lo.gmane.org with esmtp (Exim 4.50) id 1ILaKj-0005RH-MJ for gcvg-git@gmane.org; Thu, 16 Aug 2007 10:03:58 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753871AbXHPIDx (ORCPT ); Thu, 16 Aug 2007 04:03:53 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753785AbXHPIDx (ORCPT ); Thu, 16 Aug 2007 04:03:53 -0400 Received: from hand.yhbt.net ([66.150.188.102]:35630 "EHLO hand.yhbt.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753462AbXHPIDv (ORCPT ); Thu, 16 Aug 2007 04:03:51 -0400 Received: from localhost.localdomain (localhost [127.0.0.1]) by hand.yhbt.net (Postfix) with ESMTP id D45E42DC08D; Thu, 16 Aug 2007 01:03:49 -0700 (PDT) Content-Disposition: inline In-Reply-To: <20070815181228.GA6363@glandium.org> User-Agent: Mutt/1.5.13 (2006-08-11) Sender: git-owner@vger.kernel.org Precedence: bulk X-Mailing-List: git@vger.kernel.org Archived-At: Mike Hommey 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