summaryrefslogtreecommitdiff
path: root/builtin.h
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-05-24 11:04:16 -0700
committerJunio C Hamano <junkio@cox.net>2006-05-24 11:04:16 -0700
commit376bb3a352d6512a318706c2fba5737ffd7cc92b (patch)
tree52166f7d99a58a1c79b4078d6cbba8961bc361d9 /builtin.h
parentfad70686b25c414b6224406d42a4dfb7c4136e85 (diff)
parentd9b814cc97f16daac06566a5340121c446136d22 (diff)
downloadgit-376bb3a352d6512a318706c2fba5737ffd7cc92b.tar.gz
Merge branch 'lt/dirwalk'
This makes 'git add' and 'git rm' built-ins. * lt/dirwalk: Add builtin "git rm" command Move pathspec matching from builtin-add.c into dir.c Prevent bogus paths from being added to the index. builtin-add: fix unmatched pathspec warnings. Remove old "git-add.sh" remnants builtin-add: warn on unmatched pathspecs Do "git add" as a builtin Clean up git-ls-file directory walking library interface libify git-ls-files directory traversal
Diffstat (limited to 'builtin.h')
-rw-r--r--builtin.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/builtin.h b/builtin.h
index 60541262c4..1a41d4753f 100644
--- a/builtin.h
+++ b/builtin.h
@@ -24,6 +24,8 @@ extern int cmd_count_objects(int argc, const char **argv, char **envp);
extern int cmd_push(int argc, const char **argv, char **envp);
extern int cmd_grep(int argc, const char **argv, char **envp);
+extern int cmd_rm(int argc, const char **argv, char **envp);
+extern int cmd_add(int argc, const char **argv, char **envp);
extern int cmd_rev_list(int argc, const char **argv, char **envp);
extern int cmd_check_ref_format(int argc, const char **argv, char **envp);
extern int cmd_init_db(int argc, const char **argv, char **envp);