summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2005-10-08 15:54:35 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2005-10-08 15:54:35 -0700
commitd119e3de13ea1493107bd57381d0ce9c9dd90976 (patch)
treefa3bbb82e2a8ff045767970b465e7b1c8f7bf136
parentReduce memory usage in git-update-server-info. (diff)
downloadtgif-d119e3de13ea1493107bd57381d0ce9c9dd90976.tar.xz
Also use 'track_object_refs = 0' in update-server-info.
Signed-off-by: Junio C Hamano <junkio@cox.net>
-rw-r--r--update-server-info.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/update-server-info.c b/update-server-info.c
index e824f62eaf..b70856373f 100644
--- a/update-server-info.c
+++ b/update-server-info.c
@@ -1,4 +1,5 @@
#include "cache.h"
+#include "object.h"
static const char update_server_info_usage[] =
"git-update-server-info [--force]";
@@ -7,6 +8,8 @@ int main(int ac, char **av)
{
int i;
int force = 0;
+ track_object_refs = 0;
+
for (i = 1; i < ac; i++) {
if (av[i][0] == '-') {
if (!strcmp("--force", av[i]) ||