From: Junio C Hamano Date: Tue, 04 Jul 2006 06:21:12 GMT Subject: Re: git-fetch per-repository speed issues Message-ID: <7vsllhnb53.fsf@assigned-by-dhcp.cox.net> In-Reply-To: Linus Torvalds 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.