From: Mike Hommey Date: Sat, 14 Jun 2008 09:02:44 GMT Subject: Re: [BUG REPORT] "git ls-remote http://git.domain.com/repo.git HEAD" doesn't work Message-ID: <20080614090244.GA1262@glandium.org> In-Reply-To: On Sat, Jun 14, 2008 at 07:49:06AM +0000, Sven wrote: > Junio C Hamano pobox.com> writes: > > Traditionally it _never_ talked about HEAD as it technically is not a ref. > > How likely is it that ls-remote HEAD is added for HTTP as well rather than > stripped for all protocols? When someone sends a patch ;) FWIW, quickly looking at the code, it seems the rsync backend may have the same problem. Now, I wonder if other protocols allow to use other refs such as FETCH_HEAD, or if they special case HEAD. I don't have enough time to look this up. Mike