Re: git-fetch per-repository speed issues

From: Junio C Hamano <junkio@cox.net>
Date: 2006-07-04 16:21:12
Linus Torvalds <torvalds@osdl.org> writes:

> Looking closer, I suspect a big part of it is that
>
> 	git-ls-remote $upload_pack --tags "$remote" |
> 	sed -ne 's|^\([0-9a-f]*\)[      ]\(refs/tags/.*\)^{}$|\1 \2|p' |
> 	while read sha1 name
> 	do
> 		..
> 	done
>
> loop.

Yes indeed.  Maybe we can do this loop in Perl.  Doing the whole
thing in C is another option but it would be somewhat painful,
unless we can deprecate all transport but git native protocols.

On the other hand, 5 seconds may not matter that much in practice.

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Tue Jul 04 16:22:04 2006

This archive was generated by hypermail 2.1.8 : 2006-07-04 16:22:31 EST