git-svn: Speed up fetch
authorAdam Roben <aroben@apple.com>
Fri, 23 May 2008 14:19:41 +0000 (16:19 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 23 May 2008 19:07:05 +0000 (12:07 -0700)
commitffe256f9bac8a40ff751a9341a5869d98f72c285
treed15c54f8f92f974cc99f1c1be406a202ba788fa6
parent7182530d8cad5ffc396bed5d37f97cfb14b7e599
git-svn: Speed up fetch

We were spending a lot of time forking/execing git-cat-file and
git-hash-object. We now maintain a global Git repository object in order to use
Git.pm's more efficient hash_and_insert_object and cat_blob methods.

Signed-off-by: Adam Roben <aroben@apple.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-svn.perl