aboutsummaryrefslogtreecommitdiffstats
path: root/fetch.c
diff options
context:
space:
mode:
authorSergey Vlasov <vsu@altlinux.ru>2005-09-23 16:28:13 +0400
committerJunio C Hamano <junkio@cox.net>2005-09-23 14:30:42 -0700
commita95cb6fb6b247cf90bd0b1a8bf989a0b42ada775 (patch)
treea4988a0096cd29721517588300d605522bfe54a9 /fetch.c
parentff8489cb0ad4274315fecffc1fb187b7951a51b5 (diff)
downloadgit-a95cb6fb6b247cf90bd0b1a8bf989a0b42ada775.tar.gz
[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 <vsu@altlinux.ru> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'fetch.c')
-rw-r--r--fetch.c1
1 files changed, 1 insertions, 0 deletions
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)