Staging
v0.5.1
Revision d5e86da89155b462c30a59bc724037fb111d3894 authored by Junio C Hamano on 26 December 2006, 02:14:12 UTC, committed by Junio C Hamano on 26 December 2006, 02:39:54 UTC
This is not yet -rc1 where all new topics closes, but I think it
is getting pretty closer.  I'd still want to merge updates to
fsck/prune to honor reflog entries before -rc1.

Signed-off-by: Junio C Hamano <junkio@cox.net>
1 parent d2bafe5
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