shell: do not play duplicated definition games to shrink the executable
[gitweb.git] / builtin-check-ref-format.c
index 4a23936aff8c21ca42a1b1e460543b1c775ccb45..fe04be77a9312c11fa054897c5982fa6c74b8e5e 100644 (file)
@@ -6,9 +6,9 @@
 #include "refs.h"
 #include "builtin.h"
 
-int cmd_check_ref_format(int argc, const char **argv, char **envp)
+int cmd_check_ref_format(int argc, const char **argv, const char *prefix)
 {
        if (argc != 2)
-               usage("git check-ref-format refname");
+               usage("git-check-ref-format refname");
        return !!check_ref_format(argv[1]);
 }