Re: git-fetch per-repository speed issues
- From
Junio C Hamano <junkio@cox.net>
- Date
- Jul 4, 2006, 06:21 UTC
- Message-ID
- <7vsllhnb53.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <Pine.LNX.4.64.0607032213030.12404@g5.osdl.org>
Linus Torvalds <torvalds@osdl.org> writes:
Show 10 quoted lines
> 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.