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