From: Bert Wesarg Date: Tue, 09 Sep 2008 06:52:00 GMT Subject: Re: [PATCH v4] for-each-ref: `:short` format for `refname` Message-ID: <36ca99e90809082352q3c87447eme73379673fe652f4@mail.gmail.com> In-Reply-To: <7vfxoadz5c.fsf@gitster.siamese.dyndns.org> On Tue, Sep 9, 2008 at 00:57, Junio C Hamano wrote: > Any followup on this topic since: > > http://thread.gmane.org/gmane.comp.version-control.git/94478/focus=95041 > > I plan on looking at the refs/remote test today. Any opinions, whether we want the 'strict' mode? i.e.: for refs/heads/xyzzy and refs/tags/xyzzy: loose mode (current implementation): refs/heads/xyzzy => heads/xyzzy refs/tags/xyzzy => xyzzy there would be a ambiguous warning (if enabled) if you use xyzzy as a tag, but it resolves correctly to the tag. strict mode: refs/heads/xyzzy => heads/xyzzy refs/tags/xyzzy => tags/xyzzy will always produce a non-ambiguous short forms. Bert