Junio C Hamano | 03feddd | 2005-10-13 18:57:39 -0700 | [diff] [blame] | 1 | /* |
2 | * GIT - The information manager from hell | ||||
3 | */ | ||||
4 | |||||
5 | #include "cache.h" | ||||
6 | #include "refs.h" | ||||
7 | |||||
8 | #include <stdio.h> | ||||
9 | |||||
10 | int main(int ac, char **av) | ||||
11 | { | ||||
12 | if (ac != 2) | ||||
13 | usage("git-check-ref-format refname"); | ||||
14 | if (check_ref_format(av[1])) | ||||
15 | exit(1); | ||||
16 | return 0; | ||||
17 | } |