[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>
Sergey Vlasov committed
Sep 23, 2005 at 16:28 UTC
a95cb6fb6b247cf90bd0b1a8bf989a0b42ada775
1 file changed
+1
fetch.c
+1
@@ -206,6 +206,7 @@ int pull(char *target)
206
int fd = -1;
207
208
save_commit_buffer = 0;
209
+ track_object_refs = 0;
210
if (write_ref && current_ref) {
211
fd = lock_ref_sha1(write_ref, current_ref);
212
if (fd < 0)