Re: [PATCH] git-filter-branch could be confused by similar names
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jan 5, 2008, 16:03 UTC
- Message-ID
- <alpine.LSU.1.00.0801051601490.10101@racer.site>
- In-Reply-To
- <7vr6gxjpyn.fsf@gitster.siamese.dyndns.org>
Hi,
On Fri, 4 Jan 2008, Junio C Hamano wrote:
Show 11 quoted lines
> Dmitry Potapov <dpotapov@gmail.com> 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