Skip to content

Commit

Permalink
[PATCH] fetch.c: Do not build object ref lists
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sergey Vlasov authored and Junio C Hamano committed Sep 23, 2005
1 parent ff8489c commit a95cb6f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fetch.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a95cb6f

Please sign in to comment.