From: Sergey Vlasov Date: Fri, 23 Sep 2005 12:28:13 +0000 (+0400) Subject: [PATCH] fetch.c: Do not build object ref lists X-Git-Tag: v0.99.7c~2^2~7 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a95cb6fb6b247cf90bd0b1a8bf989a0b42ada775;p=git.git [PATCH] fetch.c: Do not build object ref lists The fetch code does not need object ref lists; by disabling them we can save some time and memory. Signed-off-by: Sergey Vlasov Signed-off-by: Junio C Hamano --- diff --git a/fetch.c b/fetch.c index e6fd624c1..62f30d105 100644 --- a/fetch.c +++ b/fetch.c @@ -206,6 +206,7 @@ int pull(char *target) int fd = -1; save_commit_buffer = 0; + track_object_refs = 0; if (write_ref && current_ref) { fd = lock_ref_sha1(write_ref, current_ref); if (fd < 0)