aboutsummaryrefslogtreecommitdiff
path: root/git.c
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 /git.c
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 'git.c')
-rw-r--r--git.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/git.c b/git.c
index ee5a0e86a..d47e9d8db 100644
--- a/git.c
+++ b/git.c
@@ -202,6 +202,7 @@ static void handle_internal_command(int argc, const char **argv, char **envp)
{ "update-ref", cmd_update_ref },
{ "fmt-merge-msg", cmd_fmt_merge_msg },
{ "prune", cmd_prune },
+ { "mv", cmd_mv },
};
int i;