#include "cache.h"
-#include "object.h"
static const char update_server_info_usage[] =
"git-update-server-info [--force]";
{
int i;
int force = 0;
- track_object_refs = 0;
-
for (i = 1; i < ac; i++) {
if (av[i][0] == '-') {
if (!strcmp("--force", av[i]) ||
if (i != ac)
usage(update_server_info_usage);
+ setup_git_directory();
+
return !!update_server_info(force);
}