diff options
author | Sergey Vlasov <vsu@altlinux.ru> | 2005-09-23 16:28:13 +0400 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-09-23 14:30:42 -0700 |
commit | a95cb6fb6b247cf90bd0b1a8bf989a0b42ada775 (patch) | |
tree | a4988a0096cd29721517588300d605522bfe54a9 | |
parent | ff8489cb0ad4274315fecffc1fb187b7951a51b5 (diff) | |
download | git-a95cb6fb6b247cf90bd0b1a8bf989a0b42ada775.tar.gz git-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.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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) |