Staging
v0.5.1
https://github.com/git/git
Revision 1cc202bd4ebd0390d738f0d633d42791cb79dd05 authored by Junio C Hamano on 09 May 2007, 05:10:56 UTC, committed by Junio C Hamano on 09 May 2007, 05:11:17 UTC
Signed-off-by: Junio C Hamano <junkio@cox.net>
1 parent 22f0958
Raw File
Tip revision: 1cc202bd4ebd0390d738f0d633d42791cb79dd05 authored by Junio C Hamano on 09 May 2007, 05:10:56 UTC
GIT v1.5.1.4
Tip revision: 1cc202b
builtin-check-ref-format.c
/*
 * GIT - The information manager from hell
 */

#include "cache.h"
#include "refs.h"
#include "builtin.h"

int cmd_check_ref_format(int argc, const char **argv, const char *prefix)
{
	if (argc != 2)
		usage("git-check-ref-format refname");
	return !!check_ref_format(argv[1]);
}
back to top