https://github.com/git/git
Raw File
Tip revision: ca182053c7710a286d72102f4576cf32e0dafcfb authored by Junio C Hamano on 27 January 2006, 22:46:10 UTC
GIT 1.0.13
Tip revision: ca18205
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