Staging
v0.5.1
https://github.com/git/git
Revision 59617ebb746b67921856c00a63f943d43b0abeea authored by Junio C Hamano on 14 January 2006, 00:47:05 UTC, committed by Junio C Hamano on 14 January 2006, 00:47:05 UTC
3 parent s 78ff5cf + 8c23b6f + e99c2fb
Raw File
Tip revision: 59617ebb746b67921856c00a63f943d43b0abeea authored by Junio C Hamano on 14 January 2006, 00:47:05 UTC
GIT 1.1.2
Tip revision: 59617eb
check-ref-format.c
/*
 * GIT - The information manager from hell
 */

#include "cache.h"
#include "refs.h"

#include <stdio.h>

int main(int ac, char **av)
{
	if (ac != 2)
		usage("git-check-ref-format refname");
	if (check_ref_format(av[1]))
		exit(1);
	return 0;
}
back to top