summaryrefslogtreecommitdiffstats
path: root/git.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-08-20 03:05:43 +0200
committerJunio C Hamano <gitster@pobox.com>2008-08-20 10:36:10 +0200
commitdaa0cc9a92c9c2c714aa5f7da6d0ff65b93e0698 (patch)
treef81442a41f7bbd496be466120a878434c68aab23 /git.c
parentshell: do not play duplicated definition games to shrink the executable (diff)
downloadgit-daa0cc9a92c9c2c714aa5f7da6d0ff65b93e0698.tar.xz
git-daa0cc9a92c9c2c714aa5f7da6d0ff65b93e0698.zip
Build-in "git-shell"
This trivially makes "git-shell" a built-in. It makes the executable even fatter, though. And MinGW removed git-shell only because of the funny dependencies; there is no reason to do so anymore. Signed-off-by: Junio C Hamano <gitster@pobox.com> Tested-on-MinGW-by: Johannes Sixt <johannes.sixt@telecom.at>
Diffstat (limited to '')
-rw-r--r--git.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/git.c b/git.c
index 37b1d76a08..89e4645736 100644
--- a/git.c
+++ b/git.c
@@ -338,6 +338,7 @@ static void handle_internal_command(int argc, const char **argv)
{ "revert", cmd_revert, RUN_SETUP | NEED_WORK_TREE },
{ "rm", cmd_rm, RUN_SETUP },
{ "send-pack", cmd_send_pack, RUN_SETUP },
+ { "shell", cmd_shell },
{ "shortlog", cmd_shortlog, USE_PAGER },
{ "show-branch", cmd_show_branch, RUN_SETUP },
{ "show", cmd_show, RUN_SETUP | USE_PAGER },