diff options
author | Junio C Hamano <junkio@cox.net> | 2006-05-24 11:04:16 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-05-24 11:04:16 -0700 |
commit | 376bb3a352d6512a318706c2fba5737ffd7cc92b (patch) | |
tree | 52166f7d99a58a1c79b4078d6cbba8961bc361d9 /builtin.h | |
parent | fad70686b25c414b6224406d42a4dfb7c4136e85 (diff) | |
parent | d9b814cc97f16daac06566a5340121c446136d22 (diff) | |
download | git-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.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); |