Skip to content
Newer
Older
100644 89 lines (83 sloc) 5.72 KB
70827b1 Split up builtin commands into separate files from git.c
Linus Torvalds authored Apr 21, 2006
1 #ifndef BUILTIN_H
2 #define BUILTIN_H
3
d0c2449 Define fallback PATH_MAX on systems that do not define one in <limits.h>
Junio C Hamano authored Sep 15, 2006
4 #include "git-compat-util.h"
70827b1 Split up builtin commands into separate files from git.c
Linus Torvalds authored Apr 21, 2006
5
6 extern const char git_version_string[];
822a7d5 Remove cmd_usage() routine and re-organize the help/usage code.
Ramsay Allan Jones authored Jul 30, 2006
7 extern const char git_usage_string[];
70827b1 Split up builtin commands into separate files from git.c
Linus Torvalds authored Apr 21, 2006
8
822a7d5 Remove cmd_usage() routine and re-organize the help/usage code.
Ramsay Allan Jones authored Jul 30, 2006
9 extern void help_unknown_cmd(const char *cmd);
f754fa9 builtins: Makefile clean-up
Junio C Hamano authored Aug 4, 2006
10 extern int mailinfo(FILE *in, FILE *out, int ks, const char *encoding, const char *msg, const char *patch);
11 extern int split_mbox(const char **mbox, const char *dir, int allow_bare, int nr_prec, int skip);
12 extern void stripspace(FILE *in, FILE *out);
13 extern int write_tree(unsigned char *sha1, int missing_ok, const char *prefix);
2eb53e6 Make prune also run prune-packed
J. Bruce Fields authored Oct 22, 2006
14 extern void prune_packed_objects(int);
70827b1 Split up builtin commands into separate files from git.c
Linus Torvalds authored Apr 21, 2006
15
a633fca Call setup_git_directory() much earlier
Linus Torvalds authored Jul 28, 2006
16 extern int cmd_add(int argc, const char **argv, const char *prefix);
f789e34 @pugmajere Remove git-annotate.perl and create a builtin-alias for git-blame
pugmajere authored Oct 9, 2006
17 extern int cmd_annotate(int argc, const char **argv, const char *prefix);
f754fa9 builtins: Makefile clean-up
Junio C Hamano authored Aug 4, 2006
18 extern int cmd_apply(int argc, const char **argv, const char *prefix);
4df096a Add git-archive
Franck Bui-Huu authored Sep 7, 2006
19 extern int cmd_archive(int argc, const char **argv, const char *prefix);
acca687 git-pickaxe: retire pickaxe
Junio C Hamano authored Nov 8, 2006
20 extern int cmd_blame(int argc, const char **argv, const char *prefix);
c31820c @hjemli Make git-branch a builtin
hjemli authored Oct 23, 2006
21 extern int cmd_branch(int argc, const char **argv, const char *prefix);
2e0afaf @dscho Add git-bundle: move objects and references by archive
dscho authored Feb 22, 2007
22 extern int cmd_bundle(int argc, const char **argv, const char *prefix);
f754fa9 builtins: Makefile clean-up
Junio C Hamano authored Aug 4, 2006
23 extern int cmd_cat_file(int argc, const char **argv, const char *prefix);
24 extern int cmd_checkout_index(int argc, const char **argv, const char *prefix);
d0bfd02 Add basic infrastructure to assign attributes to paths
Junio C Hamano authored Apr 12, 2007
25 extern int cmd_check_attr(int argc, const char **argv, const char *prefix);
a633fca Call setup_git_directory() much earlier
Linus Torvalds authored Jul 29, 2006
26 extern int cmd_check_ref_format(int argc, const char **argv, const char *prefix);
e827633 Built-in cherry
Rene Scharfe authored Oct 24, 2006
27 extern int cmd_cherry(int argc, const char **argv, const char *prefix);
9509af6 @dscho Make git-revert & git-cherry-pick a builtin
dscho authored Mar 1, 2007
28 extern int cmd_cherry_pick(int argc, const char **argv, const char *prefix);
a633fca Call setup_git_directory() much earlier
Linus Torvalds authored Jul 29, 2006
29 extern int cmd_commit_tree(int argc, const char **argv, const char *prefix);
f754fa9 builtins: Makefile clean-up
Junio C Hamano authored Aug 4, 2006
30 extern int cmd_count_objects(int argc, const char **argv, const char *prefix);
9a0eaf8 @spearce Make git-describe a builtin.
spearce authored Jan 10, 2007
31 extern int cmd_describe(int argc, const char **argv, const char *prefix);
a633fca Call setup_git_directory() much earlier
Linus Torvalds authored Jul 29, 2006
32 extern int cmd_diff_files(int argc, const char **argv, const char *prefix);
33 extern int cmd_diff_index(int argc, const char **argv, const char *prefix);
f754fa9 builtins: Makefile clean-up
Junio C Hamano authored Aug 4, 2006
34 extern int cmd_diff(int argc, const char **argv, const char *prefix);
a633fca Call setup_git_directory() much earlier
Linus Torvalds authored Jul 29, 2006
35 extern int cmd_diff_tree(int argc, const char **argv, const char *prefix);
d4289ff git-fetch--tool: start rewriting parts of git-fetch in C.
Junio C Hamano authored Jan 16, 2007
36 extern int cmd_fetch__tool(int argc, const char **argv, const char *prefix);
a633fca Call setup_git_directory() much earlier
Linus Torvalds authored Jul 29, 2006
37 extern int cmd_fmt_merge_msg(int argc, const char **argv, const char *prefix);
9f613dd Add git-for-each-ref: helper for language bindings
Junio C Hamano authored Sep 15, 2006
38 extern int cmd_for_each_ref(int argc, const char **argv, const char *prefix);
f754fa9 builtins: Makefile clean-up
Junio C Hamano authored Aug 4, 2006
39 extern int cmd_format_patch(int argc, const char **argv, const char *prefix);
b4dfefe @distorted-mdw Make fsck and fsck-objects be builtins.
distorted-mdw authored Jan 29, 2007
40 extern int cmd_fsck(int argc, const char **argv, const char *prefix);
6757ada Make gc a builtin.
James Bowes authored Mar 13, 2007
41 extern int cmd_gc(int argc, const char **argv, const char *prefix);
f754fa9 builtins: Makefile clean-up
Junio C Hamano authored Aug 4, 2006
42 extern int cmd_get_tar_commit_id(int argc, const char **argv, const char *prefix);
43 extern int cmd_grep(int argc, const char **argv, const char *prefix);
44 extern int cmd_help(int argc, const char **argv, const char *prefix);
45 extern int cmd_init_db(int argc, const char **argv, const char *prefix);
46 extern int cmd_log(int argc, const char **argv, const char *prefix);
cf39f54 @torvalds git reflog show
torvalds authored Feb 8, 2007
47 extern int cmd_log_reflog(int argc, const char **argv, const char *prefix);
f754fa9 builtins: Makefile clean-up
Junio C Hamano authored Aug 4, 2006
48 extern int cmd_ls_files(int argc, const char **argv, const char *prefix);
49 extern int cmd_ls_tree(int argc, const char **argv, const char *prefix);
50 extern int cmd_mailinfo(int argc, const char **argv, const char *prefix);
51 extern int cmd_mailsplit(int argc, const char **argv, const char *prefix);
71dfbf2 Make merge-base a built-in.
Junio C Hamano authored Jan 9, 2007
52 extern int cmd_merge_base(int argc, const char **argv, const char *prefix);
ba1f5f3 @dscho Add builtin merge-file, a minimal replacement for RCS merge
dscho authored Dec 6, 2006
53 extern int cmd_merge_file(int argc, const char **argv, const char *prefix);
7061cf0 Merge branch 'lt/setup' into __/setup-n-mv
Junio C Hamano authored Jul 29, 2006
54 extern int cmd_mv(int argc, const char **argv, const char *prefix);
d6b64ed @matthiask Make git-name-rev a builtin
matthiask authored Aug 3, 2006
55 extern int cmd_name_rev(int argc, const char **argv, const char *prefix);
5d4a600 @matthiask Make git-pack-objects a builtin
matthiask authored Aug 3, 2006
56 extern int cmd_pack_objects(int argc, const char **argv, const char *prefix);
cee7f24 git-pickaxe: blame rewritten.
Junio C Hamano authored Oct 19, 2006
57 extern int cmd_pickaxe(int argc, const char **argv, const char *prefix);
f754fa9 builtins: Makefile clean-up
Junio C Hamano authored Aug 4, 2006
58 extern int cmd_prune(int argc, const char **argv, const char *prefix);
59 extern int cmd_prune_packed(int argc, const char **argv, const char *prefix);
60 extern int cmd_push(int argc, const char **argv, const char *prefix);
61 extern int cmd_read_tree(int argc, const char **argv, const char *prefix);
4264dc1 git reflog expire
Junio C Hamano authored Dec 19, 2006
62 extern int cmd_reflog(int argc, const char **argv, const char *prefix);
e0d10e1 @tomprince [PATCH] Rename git-repo-config to git-config.
tomprince authored Jan 28, 2007
63 extern int cmd_config(int argc, const char **argv, const char *prefix);
658f365 @dscho Make git-rerere a builtin
dscho authored Dec 20, 2006
64 extern int cmd_rerere(int argc, const char **argv, const char *prefix);
f754fa9 builtins: Makefile clean-up
Junio C Hamano authored Aug 4, 2006
65 extern int cmd_rev_list(int argc, const char **argv, const char *prefix);
66 extern int cmd_rev_parse(int argc, const char **argv, const char *prefix);
9509af6 @dscho Make git-revert & git-cherry-pick a builtin
dscho authored Mar 1, 2007
67 extern int cmd_revert(int argc, const char **argv, const char *prefix);
f754fa9 builtins: Makefile clean-up
Junio C Hamano authored Aug 4, 2006
68 extern int cmd_rm(int argc, const char **argv, const char *prefix);
c91f0d9 @peff git-commit.sh: convert run_status to a C builtin
peff authored Sep 8, 2006
69 extern int cmd_runstatus(int argc, const char **argv, const char *prefix);
b8ec592 @dscho Build in shortlog
dscho authored Oct 22, 2006
70 extern int cmd_shortlog(int argc, const char **argv, const char *prefix);
f754fa9 builtins: Makefile clean-up
Junio C Hamano authored Aug 4, 2006
71 extern int cmd_show(int argc, const char **argv, const char *prefix);
9f613dd Add git-for-each-ref: helper for language bindings
Junio C Hamano authored Sep 15, 2006
72 extern int cmd_show_branch(int argc, const char **argv, const char *prefix);
f754fa9 builtins: Makefile clean-up
Junio C Hamano authored Aug 4, 2006
73 extern int cmd_stripspace(int argc, const char **argv, const char *prefix);
640ce10 @matthiask Make git-symbolic-ref a builtin
matthiask authored Aug 3, 2006
74 extern int cmd_symbolic_ref(int argc, const char **argv, const char *prefix);
f754fa9 builtins: Makefile clean-up
Junio C Hamano authored Aug 4, 2006
75 extern int cmd_tar_tree(int argc, const char **argv, const char *prefix);
76 extern int cmd_unpack_objects(int argc, const char **argv, const char *prefix);
77 extern int cmd_update_index(int argc, const char **argv, const char *prefix);
78 extern int cmd_update_ref(int argc, const char **argv, const char *prefix);
39345a2 Add git-upload-archive
Franck Bui-Huu authored Sep 7, 2006
79 extern int cmd_upload_archive(int argc, const char **argv, const char *prefix);
f754fa9 builtins: Makefile clean-up
Junio C Hamano authored Aug 4, 2006
80 extern int cmd_upload_tar(int argc, const char **argv, const char *prefix);
81 extern int cmd_version(int argc, const char **argv, const char *prefix);
82 extern int cmd_whatchanged(int argc, const char **argv, const char *prefix);
a633fca Call setup_git_directory() much earlier
Linus Torvalds authored Jul 29, 2006
83 extern int cmd_write_tree(int argc, const char **argv, const char *prefix);
2e3ed67 git-verify-pack: make builtin
Rene Scharfe authored Aug 10, 2006
84 extern int cmd_verify_pack(int argc, const char **argv, const char *prefix);
358ddb6 Add "git show-ref" builtin command
Linus Torvalds authored Sep 15, 2006
85 extern int cmd_show_ref(int argc, const char **argv, const char *prefix);
e1e22e3 Start handling references internally as a sorted in-memory list
Linus Torvalds authored Sep 11, 2006
86 extern int cmd_pack_refs(int argc, const char **argv, const char *prefix);
34488e3 Make git-mailinfo a builtin
Lukas Sandström authored Jun 13, 2006
87
70827b1 Split up builtin commands into separate files from git.c
Linus Torvalds authored Apr 21, 2006
88 #endif
Something went wrong with that request. Please try again.