Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PU PATCH] Fix git fetch for very large ref counts

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:54

Julian Phillips [off-list ref] writes:
And there I was thinking 0.5m was fast ... given how long I've been
reading this list I really should have know better. ;)
Well, the only thing we need to do in fetching between two
repositories that are already identical should be to compare
ls-remote output from both ends and immediately declare victory,
and it is unacceptable for such an obvious no-op to take 30
seconds.  At this point it really is the shell loop that is
killing us.
I only really made the changes so I could try your improvements to
fetch out - if they aren't necessary because you're making it even
faster then I really don't have much cause to complain.
I've applied your fixes to jc/fetch topic and merged it back to
'pu'.  Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help