Staging
v0.5.1
https://github.com/git/git
Raw File
Tip revision: 6ab58895cd951f6f5c96fa432afb122cfeb12746 authored by Junio C Hamano on 24 December 2005, 08:02:08 UTC
GIT 1.0.4
Tip revision: 6ab5889
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