summaryrefslogtreecommitdiff
path: root/git.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-05-24 18:04:16 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-05-24 18:04:16 (GMT)
commit376bb3a352d6512a318706c2fba5737ffd7cc92b (patch)
tree52166f7d99a58a1c79b4078d6cbba8961bc361d9 /git.c
parentfad70686b25c414b6224406d42a4dfb7c4136e85 (diff)
parentd9b814cc97f16daac06566a5340121c446136d22 (diff)
downloadgit-376bb3a352d6512a318706c2fba5737ffd7cc92b.zip
git-376bb3a352d6512a318706c2fba5737ffd7cc92b.tar.gz
git-376bb3a352d6512a318706c2fba5737ffd7cc92b.tar.bz2
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 'git.c')
-rw-r--r--git.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/git.c b/git.c
index 3216d31..4a2c4ba 100644
--- a/git.c
+++ b/git.c
@@ -50,6 +50,8 @@ static void handle_internal_command(int argc, const char **argv, char **envp)
{ "count-objects", cmd_count_objects },
{ "diff", cmd_diff },
{ "grep", cmd_grep },
+ { "rm", cmd_rm },
+ { "add", cmd_add },
{ "rev-list", cmd_rev_list },
{ "init-db", cmd_init_db },
{ "check-ref-format", cmd_check_ref_format }