Re: [BUG REPORT] "git ls-remote http://git.domain.com/repo.git HEAD" doesn't work
- From
Mike Hommey <mh@glandium.org>
- Date
- Jun 14, 2008, 09:02 UTC
- Message-ID
- <20080614090244.GA1262@glandium.org>
- In-Reply-To
- <loom.20080614T074854-525@post.gmane.org>
On Sat, Jun 14, 2008 at 07:49:06AM +0000, Sven wrote:
Show 5 quoted lines
> Junio C Hamano <gitster <at> 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