Staging
v0.5.1
https://github.com/git/git
Raw File
Tip revision: 4baff50551545e2b6825973ec37bcaf03edb95fe authored by Junio C Hamano on 18 April 2006, 20:15:18 UTC
GIT 1.3.0
Tip revision: 4baff50
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