Staging
v0.5.1
https://github.com/git/git
Revision 089f20dce19711d34f5383ee289a9b1fbd3f3307 authored by Junio C Hamano on 21 September 2005, 07:58:32 UTC, committed by Junio C Hamano on 21 September 2005, 07:58:32 UTC
The author of the file we stole from Python 2.4 distribution, Peter
Astrand <astrand@lysator.liu.se>, OK'ed to add this at the end of the
licensing terms section of the file:

    Use of this file within git is permitted under GPLv2.

Signed-off-by: Junio C Hamano <junkio@cox.net>
1 parent 9f25c7b
Raw File
Tip revision: 089f20dce19711d34f5383ee289a9b1fbd3f3307 authored by Junio C Hamano on 21 September 2005, 07:58:32 UTC
Clarify dual license status of subprocess.py file.
Tip revision: 089f20d
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