From a95cb6fb6b247cf90bd0b1a8bf989a0b42ada775 Mon Sep 17 00:00:00 2001 From: Sergey Vlasov Date: Fri, 23 Sep 2005 16:28:13 +0400 Subject: [PATCH] [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 --- fetch.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fetch.c b/fetch.c index e6fd624c12..62f30d1055 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) -- 2.47.1