summaryrefslogtreecommitdiff
path: root/update-server-info.c
diff options
context:
space:
mode:
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]) ||