[PATCH 1/6] fetch.c: Do not build object ref lists
- From
Sergey Vlasov <vsu@altlinux.ru>
- Date
- Sep 23, 2005, 12:28 UTC
- Message-ID
- <20050923122813.27F56E010FC@center4.mivlgu.local>
- In-Reply-To
- <20050923122754.GB2197@master.mivlgu.local>
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>
---
fetch.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
cf77c02b386647f312a86ffc342b010ae55725cd
diff --git a/fetch.c b/fetch.c --- 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)