8 extern const char git_version_string
[];
10 void cmd_usage(int show_all
, const char *exec_path
, const char *fmt
, ...)
12 __attribute__((__format__(__printf__
, 3, 4), __noreturn__
))
16 extern int cmd_help(int argc
, const char **argv
, char **envp
);
17 extern int cmd_version(int argc
, const char **argv
, char **envp
);
19 extern int cmd_whatchanged(int argc
, const char **argv
, char **envp
);
20 extern int cmd_show(int argc
, const char **argv
, char **envp
);
21 extern int cmd_log(int argc
, const char **argv
, char **envp
);
22 extern int cmd_diff(int argc
, const char **argv
, char **envp
);
23 extern int cmd_count_objects(int argc
, const char **argv
, char **envp
);
25 extern int cmd_push(int argc
, const char **argv
, char **envp
);
26 extern int cmd_grep(int argc
, const char **argv
, char **envp
);
27 extern int cmd_rev_list(int argc
, const char **argv
, char **envp
);
28 extern int cmd_check_ref_format(int argc
, const char **argv
, char **envp
);
29 extern int cmd_init_db(int argc
, const char **argv
, char **envp
);