Staging
v0.5.1
swh:1:snp:c5feb7ee9221a3820c8879e85e8a18470c0b3afa
Raw File
Tip revision: 84ab7b6fc7e190ac1c1d0bc5b7c48befa42eff3c authored by Junio C Hamano on 25 October 2006, 21:38:24 UTC
Documentation/SubmittingPatches: 3+1 != 6
Tip revision: 84ab7b6
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