rsync transport: allow local paths, and fix tests
[git/spearce.git] / builtin-check-ref-format.c
blob701de439ae0f508f3a8ab41559230357be60637e
1 /*
2 * GIT - The information manager from hell
3 */
5 #include "cache.h"
6 #include "refs.h"
7 #include "builtin.h"
9 int cmd_check_ref_format(int argc, const char **argv, const char *prefix)
11 if (argc != 2)
12 usage("git check-ref-format refname");
13 return !!check_ref_format(argv[1]);