builtin-grep: do not use setup_revisions()
[git.git] / builtin.h
blobcf5de3b9311569293399f2abf38417711b9ff7ce
1 #ifndef BUILTIN_H
2 #define BUILTIN_H
4 #ifndef PATH_MAX
5 # define PATH_MAX 4096
6 #endif
8 extern const char git_version_string[];
10 void cmd_usage(int show_all, const char *exec_path, const char *fmt, ...)
11 #ifdef __GNUC__
12 __attribute__((__format__(__printf__, 3, 4), __noreturn__))
13 #endif
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_grep(int argc, const char **argv, char **envp);
24 #endif