summaryrefslogtreecommitdiff
path: root/update-server-info.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-10-08 15:54:35 -0700
committerJunio C Hamano <junkio@cox.net>2005-10-08 15:54:35 -0700
commitd119e3de13ea1493107bd57381d0ce9c9dd90976 (patch)
treefa3bbb82e2a8ff045767970b465e7b1c8f7bf136 /update-server-info.c
parentf22ca7c50d79fcfd769ddcda988e0981fb883a16 (diff)
downloadgit-d119e3de13ea1493107bd57381d0ce9c9dd90976.tar.gz
Also use 'track_object_refs = 0' in update-server-info.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'update-server-info.c')
-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]) ||