author | Junio C Hamano <junkio@cox.net> | |
Sat, 20 May 2006 00:30:34 +0000 (17:30 -0700) | ||
committer | Junio 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
Add builtin "git rm" command
Move pathspec matching from builtin-add.c into dir.c
1 | 2 | |||
---|---|---|---|---|
Makefile | patch | | diff1 | | diff2 | | blob | history |
builtin-add.c | patch | | diff1 | | diff2 | | blob | history |
builtin.h | patch | | diff1 | | diff2 | | blob | history |
git.c | patch | | diff1 | | diff2 | | blob | history |
diff --cc Makefile
Simple merge
diff --cc builtin-add.c
Simple merge
diff --cc builtin.h
index 78275ea45124c1f4972288b5b02f6bc18745b1fe,c1cb765deac0b83735a053cfaeb7fd41044d7ae1..d150c7ce5624e7ece666d6a639fb8e59aa018bed
+++ b/builtin.h
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
index 7db5cc1a5544b1c5c96fff8e9a28cc3cf5382f32,20c0f197a355299600898a1e9ca3e20dceb14645..63aa31143563323f1318e26ce4fa9f298473c47f
+++ b/git.c
{ "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;