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>
This commit is contained in:
Johannes Schindelin
2006-07-26 03:52:35 +02:00
committed by Junio C Hamano
parent 8fd2cb4069
commit 11be42a476
8 changed files with 269 additions and 295 deletions

1
git.c
View File

@ -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;