aboutsummaryrefslogtreecommitdiff
path: root/git.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-08-25 22:39:17 -0700
committerJunio C Hamano <gitster@pobox.com>2008-08-25 22:39:17 -0700
commit1e7abc593d55bc436ccd98f6815d49b13511baa1 (patch)
tree65b852977b7ddb8e4ed4f4b7e101be6a751da445 /git.c
parentdaa0cc9a92c9c2c714aa5f7da6d0ff65b93e0698 (diff)
downloadgit-1e7abc593d55bc436ccd98f6815d49b13511baa1.tar.gz
git-1e7abc593d55bc436ccd98f6815d49b13511baa1.tar.xz
Revert "Build-in "git-shell""
This reverts commit daa0cc9a92c9c2c714aa5f7da6d0ff65b93e0698. It was a stupid idea to do this; when run as a log-in shell, it is spawned with argv[0] set to "-git-shell", so the usual name-based dispatch would not work to begin with.
Diffstat (limited to 'git.c')
-rw-r--r--git.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/git.c b/git.c
index 89e464573..37b1d76a0 100644
--- a/git.c
+++ b/git.c
@@ -338,7 +338,6 @@ 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 },