git-fetch: rewrite another shell loop in C
commitd1e0ef6cc89e5ef2f914c37719b9c2327e534834
authorJunio C Hamano <junkio@cox.net>
Tue, 16 Jan 2007 10:31:36 +0000 (16 02:31 -0800)
committerJunio C Hamano <junkio@cox.net>
Wed, 14 Feb 2007 05:43:53 +0000 (13 21:43 -0800)
tree53a654d5b92eba36cdd510df5f0e601c813268e4
parentfbe2687eba70385dab7e3d1f5cdcdfdc11dfe0ec
git-fetch: rewrite another shell loop in C

Move another shell loop that canonicalizes the list of refs for
underlying git-fetch-pack and fetch-native-store into C.

This seems to shave the runtime for the same 1000 branch
repository from 30 seconds down to 15 seconds (it used to be 2
and half minutes with the original version).

Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-fetch--tool.c
git-fetch.sh