From: Eyvind Bernhardsen Date: Mon, 10 Dec 2007 09:16:42 GMT Subject: Re: [PATCH] Restore ls-remote reference pattern matching Message-ID: <5C669468-71F1-4E28-9E15-1EAA4893135F@orakel.ntnu.no> In-Reply-To: <7vtzmrobrl.fsf@gitster.siamese.dyndns.org> On 9. des. 2007, at 21.26, Junio C Hamano wrote: > 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. > > Sigh... This patch makes ls-remote work as expected for me. -- Eyvind