Staging
v0.5.1
Revision bab39ed371145b83340750101e7ec85167845857 authored by Junio C Hamano on 03 May 2009, 22:20:03 UTC, committed by Junio C Hamano on 03 May 2009, 22:29:31 UTC
With a handful of fixes backmerged from 1.6.2.X series

Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent e89c6ea
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