From: Johannes Schindelin Date: Sat, 23 Sep 2006 17:20:42 GMT Subject: Re: [RFC][PATCH] for_each_ref() returning heads in wrong order Message-ID: In-Reply-To: <20060923164759.GP8259@pasky.or.cz> Hi, On Sat, 23 Sep 2006, Petr Baudis wrote: > Dear diary, on Sat, Sep 23, 2006 at 06:36:21PM CEST, I got a letter > where Petr Baudis said that... > > Using the #next branch I've now hit a problem with git-fetch-pack > > master choosing refs/bases/master (I geuss created by StGIT) instead > > of refs/heads/master. The old upload-pack returned the refs in the order > > heads-tags-everything_else but the new one just goes for whatever order > > readdir() returns them in (modulo merging with packed refs). I actually > > can't see the difference that caused this right now, though. Why don't you just specify (or match) "heads/refs/master", so that git-fetch-pack cannot choose anything wrong to begin with? Ciao, Dscho