From: Gerrit Pape Date: Tue, 05 Jun 2007 11:35:57 GMT Subject: Re: git branch --track and remote branches with / in the name Message-ID: <20070605113557.5803.qmail@81f254b7954e14.315fe32.mid.smarden.org> In-Reply-To: <7v4plmd7kg.fsf@assigned-by-dhcp.cox.net> On Tue, Jun 05, 2007 at 03:22:39AM -0700, Junio C Hamano wrote: > Gerrit Pape writes: > > Hi, the --track option to git branch or git checkout doesn't work for > > remote branches that contain a slash in the name: > Indeed the "find matching remote tracking branch" code was > somewhat sloppy and needlessly complex/clever. > > How about this patch? Works fine for me, including the selftest. Thanks, Gerrit.