]> git.ipfire.org Git - thirdparty/git.git/blame - builtin-check-ref-format.c
Fix an "implicit function definition" warning.
[thirdparty/git.git] / builtin-check-ref-format.c
CommitLineData
9370bae2
LS
1/*
2 * GIT - The information manager from hell
3 */
4
5#include "cache.h"
6#include "refs.h"
7#include "builtin.h"
8
a633fca0 9int cmd_check_ref_format(int argc, const char **argv, const char *prefix)
9370bae2
LS
10{
11 if (argc != 2)
cba05fa8 12 usage("git-check-ref-format refname");
9370bae2
LS
13 return !!check_ref_format(argv[1]);
14}