Staging
v0.5.1
v0.5.1
Revision 9a84074d08e2e816a3310eb34ac69b584faf817b authored by Junio C Hamano on 23 December 2005, 23:51:33 UTC, committed by Junio C Hamano on 23 December 2005, 23:51:33 UTC
Somehow this option was not mentioned anywhere in the documentation nor the usage string. Signed-off-by: Junio C Hamano <junkio@cox.net>
1 parent 695bf72
update-server-info.c
#include "cache.h"
static const char update_server_info_usage[] =
"git-update-server-info [--force]";
int main(int ac, char **av)
{
int i;
int force = 0;
for (i = 1; i < ac; i++) {
if (av[i][0] == '-') {
if (!strcmp("--force", av[i]) ||
!strcmp("-f", av[i]))
force = 1;
else
usage(update_server_info_usage);
}
}
if (i != ac)
usage(update_server_info_usage);
setup_git_directory();
return !!update_server_info(force);
}
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...