summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-10-08 22:54:35 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-10-08 22:54:35 (GMT)
commitd119e3de13ea1493107bd57381d0ce9c9dd90976 (patch)
treefa3bbb82e2a8ff045767970b465e7b1c8f7bf136
parentf22ca7c50d79fcfd769ddcda988e0981fb883a16 (diff)
downloadgit-d119e3de13ea1493107bd57381d0ce9c9dd90976.zip
git-d119e3de13ea1493107bd57381d0ce9c9dd90976.tar.gz
git-d119e3de13ea1493107bd57381d0ce9c9dd90976.tar.bz2
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 e824f62..b708563 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]) ||