Re: [PATCH] archive: let remote clients get reachable commits
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 22, 2013, 18:06 UTC
- Message-ID
- <7vfw0odxz3.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <20130222172710.GB17475@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
> How are you proposing to verify master~12 in that example? Because > during parsing, it starts with "master", and we remember that?
By not cheating (i.e. using get_sha1()), but making sure you can parse "master" and the adornment on it "~12" is something sane.
That is why I said "this is harder than one would naively think, but limiting will make it significantly easier". I didn't say that it would become "trivial", did I?