Staging
v0.5.1
https://github.com/git/git
Raw File
Tip revision: c9ed27b9e8372822219780705128cf37bd25e26b authored by Junio C Hamano on 19 October 2005, 09:31:27 UTC
GIT 0.99.8f
Tip revision: c9ed27b
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