Skip to content

Commit

Permalink
Revert "Also use 'track_object_refs = 0' in update-server-info."
Browse files Browse the repository at this point in the history
This reverts d119e3d 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>
  • Loading branch information
Sergey Vlasov authored and Junio C Hamano committed Oct 13, 2005
1 parent 64c381b commit 35613ba
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions update-server-info.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#include "cache.h"
#include "object.h"

static const char update_server_info_usage[] =
"git-update-server-info [--force]";
Expand All @@ -8,8 +7,6 @@ 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]) ||
Expand Down

0 comments on commit 35613ba

Please sign in to comment.