From: Eric Wong Date: Thu, 23 Apr 2009 18:37:05 GMT Subject: Re: [GIT-SVN] master follows not trunk Message-ID: <20090423183705.GB17467@dcvr.yhbt.net> In-Reply-To: <36ca99e90904220821u3dae67d7jcb6366d7a95dfbd1@mail.gmail.com> Bert Wesarg wrote: > Hi, > > it seams so, that git-svn sets the master branch to that svn branch > which has the highest revision! > > I cloned a svn repo today where exactly this happend. I.e. master > pointed not to the trunk but to the branch with the highest revision. > After trunk moved forward, a git svn rebase told me that master is up > to date. > > A second clean clone of this repo and master pointed to trunk. > > Is this indented? Yes it was intended. It was once the case that several repositories I tracked had work done almost exclusively in branches and trunk could've been months/years behind and worthless. However, this issue has come up many times now so maybe setting master==trunk if trunk exists (sometimes it does not)... Any objections? -- Eric Wong