Staging
v0.5.1
https://github.com/git/git
Raw File
Tip revision: 0de62e598552765eb674b72bbaf55b2e2933f617 authored by Junio C Hamano on 11 January 2006, 00:20:22 UTC
GIT 1.0.9
Tip revision: 0de62e5
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