summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Sergey Vlasov <vsu@altlinux.ru>2005-09-23 16:28:13 +0400
committerLibravatar Junio C Hamano <junkio@cox.net>2005-09-23 14:30:42 -0700
commita95cb6fb6b247cf90bd0b1a8bf989a0b42ada775 (patch)
treea4988a0096cd29721517588300d605522bfe54a9
parent[PATCH] document command to show diff of a commit (diff)
downloadtgif-a95cb6fb6b247cf90bd0b1a8bf989a0b42ada775.tar.xz
[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>
-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)