summaryrefslogtreecommitdiff
path: root/fetch.c
diff options
context:
space:
mode:
authorSergey Vlasov <vsu@altlinux.ru>2005-09-23 12:28:13 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-09-23 21:30:42 (GMT)
commita95cb6fb6b247cf90bd0b1a8bf989a0b42ada775 (patch)
treea4988a0096cd29721517588300d605522bfe54a9 /fetch.c
parentff8489cb0ad4274315fecffc1fb187b7951a51b5 (diff)
downloadgit-a95cb6fb6b247cf90bd0b1a8bf989a0b42ada775.zip
git-a95cb6fb6b247cf90bd0b1a8bf989a0b42ada775.tar.gz
git-a95cb6fb6b247cf90bd0b1a8bf989a0b42ada775.tar.bz2
[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 e6fd624..62f30d1 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)