From: Johannes Schindelin Date: Sat, 05 Jan 2008 16:03:55 GMT Subject: Re: [PATCH] git-filter-branch could be confused by similar names Message-ID: In-Reply-To: <7vr6gxjpyn.fsf@gitster.siamese.dyndns.org> Hi, On Fri, 4 Jan 2008, Junio C Hamano wrote: > Dmitry Potapov writes: > > > It works only if the name "unambiguous" for git show-ref, which > > interprets refname differently than rev-list as I wrote above. > > Nevertheless, I believe we can use 'git show-ref' if we try something > > like this: > > Ahh. > > But at that point I would say that exposing the refname dwimming > logic to the scripts could be a much cleaner solution. I considered that when ripping the script from cogito, but it seemed to me at that time that not requiring an up-to-date git for testing the script would be better. Now is a different situation, however, so I agree. Ciao, Dscho