Re: [PATCH] Restore ls-remote reference pattern matching
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Dec 9, 2007, 18:15 UTC
- Message-ID
- <7vmysjpwdq.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <20071209162632.a16bfd6e.vsu@altlinux.ru>
Sergey Vlasov <vsu@altlinux.ru> writes:
Show 5 quoted lines
> 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.
Ah, true. I wanted to cheat but that was a mistake.