Re: [PATCH] "git push": tellme-more protocol extension
- From
Jeff King <peff@peff.net>
- Date
- Mar 21, 2008, 04:28 UTC
- Message-ID
- <20080321042821.GA5453@coredump.intra.peff.net>
- In-Reply-To
- <7vy78cu2kt.fsf@gitster.siamese.dyndns.org>
On Thu, Mar 20, 2008 at 09:24:18PM -0700, Junio C Hamano wrote:
> So a potential improvement might be to ask for "tellme-more" only if we do > not know any of the refs the receiver showed us; my patch does it if there > is at least one unknown instead.
You can still get cases where doing this is more expensive than your patch, because A..B is very small but shared_tag..A is very large. I'm not sure which is more likely in practice.
-Peff