1#include "cache.h"
23
static const char update_server_info_usage[] =
4"git-update-server-info [--force]";
56
int main(int ac, char **av)
7{
8int i;
9int force = 0;
10for (i = 1; i < ac; i++) {
11if (av[i][0] == '-') {
12if (!strcmp("--force", av[i]) ||
13!strcmp("-f", av[i]))
14force = 1;
15else
16usage(update_server_info_usage);
17}
18}
19if (i != ac)
20usage(update_server_info_usage);
2122
setup_git_directory();
2324
return !!update_server_info(force);
25}