Staging
v0.7.0
Revision 97d0c52980f0e64f0feed5b31390a32561df0ecf authored by Junio C Hamano on 27 December 2007, 01:35:38 UTC, committed by Junio C Hamano on 27 December 2007, 01:35:38 UTC
* ar/commit-cleanup:
  Allow selection of different cleanup modes for commit messages
  builtin-commit: avoid double-negation in the code.
  builtin-commit: fix amending of the initial commit
  t7005: do not exit inside test.
2 parent s d562509 + 5f06573
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