aboutsummaryrefslogtreecommitdiff
path: root/builtin.h
diff options
context:
space:
mode:
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>2006-07-26 03:52:35 +0200
committerJunio C Hamano <junkio@cox.net>2006-07-26 13:36:36 -0700
commit11be42a47632a6f7219d34f5e312aa20ae076142 (patch)
tree67fb9d00882b55dfdc8a0355ed744759179e71aa /builtin.h
parent8fd2cb4069178539d8cf7711586d4e6378722bf3 (diff)
downloadgit-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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin.h b/builtin.h
index 5339d8627..6f3a43957 100644
--- a/builtin.h
+++ b/builtin.h
@@ -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);