Merge branch 'lt/dirwalk' into next
authorJunio C Hamano <junkio@cox.net>
Sat, 20 May 2006 00:30:34 +0000 (17:30 -0700)
committerJunio C Hamano <junkio@cox.net>
Sat, 20 May 2006 00:30:34 +0000 (17:30 -0700)
* lt/dirwalk:
  Add builtin "git rm" command
  Move pathspec matching from builtin-add.c into dir.c

1  2 
Makefile
builtin-add.c
builtin.h
git.c

diff --cc Makefile
Simple merge
diff --cc builtin-add.c
Simple merge
diff --cc builtin.h
+++ b/builtin.h
@@@ -25,8 -24,7 +25,9 @@@ extern int cmd_count_objects(int argc, 
  
  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);
  
  #endif
diff --cc git.c
--- 1/git.c
--- 2/git.c
+++ b/git.c
@@@ -51,9 -50,8 +51,10 @@@ static void handle_internal_command(in
                { "count-objects", cmd_count_objects },
                { "diff", cmd_diff },
                { "grep", cmd_grep },
+               { "rm", cmd_rm },
                { "add", cmd_add },
 +              { "rev-list", cmd_rev_list },
 +              { "check-ref-format", cmd_check_ref_format }
        };
        int i;