diff options
author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | 2006-07-26 03:52:35 +0200 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-07-26 13:36:36 -0700 |
commit | 11be42a47632a6f7219d34f5e312aa20ae076142 (patch) | |
tree | 67fb9d00882b55dfdc8a0355ed744759179e71aa /builtin.h | |
parent | 8fd2cb4069178539d8cf7711586d4e6378722bf3 (diff) | |
download | git-11be42a47632a6f7219d34f5e312aa20ae076142.tar.gz git-11be42a47632a6f7219d34f5e312aa20ae076142.tar.xz |
Make git-mv a builtin
This also moves add_file_to_index() to read-cache.c. Oh, and while
touching builtin-add.c, it also removes a duplicate git_config() call.
Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'builtin.h')
-rw-r--r-- | builtin.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -52,6 +52,7 @@ extern int cmd_rev_parse(int argc, const char **argv, char **envp); extern int cmd_update_index(int argc, const char **argv, char **envp); extern int cmd_update_ref(int argc, const char **argv, char **envp); extern int cmd_fmt_merge_msg(int argc, const char **argv, char **envp); +extern int cmd_mv(int argc, const char **argv, char **envp); extern int cmd_write_tree(int argc, const char **argv, char **envp); extern int write_tree(unsigned char *sha1, int missing_ok, const char *prefix); |