builtin.hon commit Merge git://git.bogomips.org/git-svn (5b139a6)
   1#ifndef BUILTIN_H
   2#define BUILTIN_H
   3
   4#ifndef PATH_MAX
   5# define PATH_MAX 4096
   6#endif
   7
   8extern const char git_version_string[];
   9
  10void cmd_usage(int show_all, const char *exec_path, const char *fmt, ...)
  11#ifdef __GNUC__
  12        __attribute__((__format__(__printf__, 3, 4), __noreturn__))
  13#endif
  14        ;
  15
  16extern int cmd_help(int argc, const char **argv, char **envp);
  17extern int cmd_version(int argc, const char **argv, char **envp);
  18
  19extern int cmd_whatchanged(int argc, const char **argv, char **envp);
  20extern int cmd_show(int argc, const char **argv, char **envp);
  21extern int cmd_log(int argc, const char **argv, char **envp);
  22extern int cmd_diff(int argc, const char **argv, char **envp);
  23extern int cmd_format_patch(int argc, const char **argv, char **envp);
  24extern int cmd_count_objects(int argc, const char **argv, char **envp);
  25
  26extern int cmd_push(int argc, const char **argv, char **envp);
  27extern int cmd_grep(int argc, const char **argv, char **envp);
  28extern int cmd_rm(int argc, const char **argv, char **envp);
  29extern int cmd_add(int argc, const char **argv, char **envp);
  30extern int cmd_rev_list(int argc, const char **argv, char **envp);
  31extern int cmd_check_ref_format(int argc, const char **argv, char **envp);
  32extern int cmd_init_db(int argc, const char **argv, char **envp);
  33extern int cmd_tar_tree(int argc, const char **argv, char **envp);
  34extern int cmd_upload_tar(int argc, const char **argv, char **envp);
  35extern int cmd_get_tar_commit_id(int argc, const char **argv, char **envp);
  36extern int cmd_ls_files(int argc, const char **argv, char **envp);
  37extern int cmd_ls_tree(int argc, const char **argv, char **envp);
  38extern int cmd_read_tree(int argc, const char **argv, char **envp);
  39extern int cmd_commit_tree(int argc, const char **argv, char **envp);
  40extern int cmd_apply(int argc, const char **argv, char **envp);
  41extern int cmd_show_branch(int argc, const char **argv, char **envp);
  42extern int cmd_diff_files(int argc, const char **argv, char **envp);
  43extern int cmd_diff_index(int argc, const char **argv, char **envp);
  44extern int cmd_diff_stages(int argc, const char **argv, char **envp);
  45extern int cmd_diff_tree(int argc, const char **argv, char **envp);
  46extern int cmd_cat_file(int argc, const char **argv, char **envp);
  47extern int cmd_rev_parse(int argc, const char **argv, char **envp);
  48
  49#endif