Staging
v0.5.1
Revision 527270689c364bea9b0630df9bae5e09c2071c1e authored by Tim Stoakes on 10 February 2008, 04:19:08 UTC, committed by Junio C Hamano on 10 February 2008, 04:22:23 UTC
Signed-off-by: Tim Stoakes <tim@stoakes.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent cf94ccd
Raw File
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