Re: [PATCH] Restore ls-remote reference pattern matching
On 9. des. 2007, at 21.26, Junio C Hamano wrote:
Show 11 quoted lines
> Sergey Vlasov <vsu@altlinux.ru> writes:
>
>> This still does not match the behavior of the old shell
>> implementation
>> completely - because $pat was not quoted, shell pattern characters in
>> $pat worked, and things like "git ls-remote . 'refs/heads/
>> something--*'"
>> were possible (and used in some of my scripts), so a full fnmatch()
>> call is still needed.
>
> Sigh...
This patch makes ls-remote work as expected for me.
--
Eyvind