aboutsummaryrefslogtreecommitdiff
path: root/git.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-08-19 18:05:43 -0700
committerJunio C Hamano <gitster@pobox.com>2008-08-20 01:36:10 -0700
commitdaa0cc9a92c9c2c714aa5f7da6d0ff65b93e0698 (patch)
treef81442a41f7bbd496be466120a878434c68aab23 /git.c
parent4cfc24afc9ffa4d3f1623be8990eea118e82d4fd (diff)
downloadgit-daa0cc9a92c9c2c714aa5f7da6d0ff65b93e0698.tar.gz
git-daa0cc9a92c9c2c714aa5f7da6d0ff65b93e0698.tar.xz
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 'git.c')
-rw-r--r--git.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/git.c b/git.c
index 37b1d76a0..89e464573 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 },