Staging
v0.5.1
https://github.com/git/git
Revision 23ea3e201cea0deea909569e08e950a9ec2345f7 authored by Junio C Hamano on 10 November 2005, 05:09:43 UTC, committed by Junio C Hamano on 10 November 2005, 05:09:43 UTC
Another snapshot, as slow and steady marth towards 1.0 continues.
Major changes include:

 - Jim Radford's RPM split.
 - Fredrik's recursive merge strategy is now default for two heads merge.
 - Yaacov's SVN importer updates.

Signed-off-by: Junio C Hamano <junkio@cox.net>
2 parent s 5ca15b8 + a1c2929
Raw File
Tip revision: 23ea3e201cea0deea909569e08e950a9ec2345f7 authored by Junio C Hamano on 10 November 2005, 05:09:43 UTC
GIT 0.99.9g
Tip revision: 23ea3e2
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);

	return !!update_server_info(force);
}
back to top