Revert "Also use 'track_object_refs = 0' in update-server-info."
This reverts d119e3de13ea1493107bd57381d0ce9c9dd90976 commit. Object references are used in server-info.c:find_pack_info_one() to find out which objects in the pack are heads, therefore tracking of references cannot be disabled. Signed-off-by: Sergey Vlasov <vsu@altlinux.ru> Signed-off-by: Junio C Hamano <junkio@cox.net>
Sergey Vlasov committed
Oct 13, 2005 at 10:01 UTC
35613ba4ba967ff408f1b32275f4ebcd51c98097
1 file changed
-3
update-server-info.c
-3
@@ -1,5 +1,4 @@
1
#include "cache.h"
2
-#include "object.h"
2
3
static const char update_server_info_usage[] =
4
"git-update-server-info [--force]";
@@ -8,8 +7,6 @@ int main(int ac, char **av)
7
{
8
int i;
9
int force = 0;
11
- track_object_refs = 0;
12
-
10
for (i = 1; i < ac; i++) {
11
if (av[i][0] == '-') {
12
if (!strcmp("--force", av[i]) ||