aboutsummaryrefslogtreecommitdiff
path: root/git.c
diff options
context:
space:
mode:
authorNicolas Pitre <nico@cam.org>2007-01-07 12:31:29 -0500
committerJunio C Hamano <junkio@cox.net>2007-01-07 18:03:07 -0800
commit515377ea9ec6192f82a2fa5c5b5b7651d9d6cf6c (patch)
tree5a5643daddda26814cb3769ec63d344143b7ecf0 /git.c
parentcf2999eb4cbe39d5a40add574be9e5c019df758b (diff)
downloadgit-515377ea9ec6192f82a2fa5c5b5b7651d9d6cf6c.tar.gz
git-515377ea9ec6192f82a2fa5c5b5b7651d9d6cf6c.tar.xz
"init-db" can really be just "init"
Make "init" the equivalent of "init-db". This should make first GIT impression a little more friendly. Signed-off-by: Nicolas Pitre <nico@cam.org> 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 c82ca458e..bf55499dc 100644
--- a/git.c
+++ b/git.c
@@ -231,6 +231,7 @@ static void handle_internal_command(int argc, const char **argv, char **envp)
{ "get-tar-commit-id", cmd_get_tar_commit_id },
{ "grep", cmd_grep, RUN_SETUP },
{ "help", cmd_help },
+ { "init", cmd_init_db },
{ "init-db", cmd_init_db },
{ "log", cmd_log, RUN_SETUP | USE_PAGER },
{ "ls-files", cmd_ls_files, RUN_SETUP },