Re: Git --reference bug(?)
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Oct 19, 2011, 06:25 UTC
- Message-ID
- <7vipnlebwb.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <7vpqhtec2n.fsf@alter.siamese.dyndns.org>
Junio C Hamano <gitster@pobox.com> writes:
Show 9 quoted lines
>> 0397236d43e48e821cce5bbe6a80a1a56bb7cc3a refs/tags/v2.6.12-rc3
>> a2755a80f40e5794ddc20e00f781af9d6320fafb refs/tags/v2.6.12-rc3^{}
>> [...]
>>
>> I've never seen this format before; is this the remote protocol for
>> peeled refs or maybe the behavior of an old version of git?
>
> This should be very well documented and has been the output from fairly
> early days of ls-remote.I take the first half back. The ls-remote documentation seems to have bit-rotten quite a bit.
IIRC, we started doing this when we introduced auto-following of the tag objects. Even update-server-info knows about it so it way predates smart HTTP and is a fairly old and established behaviour.