summaryrefslogtreecommitdiff
path: root/shell.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-09-26 14:15:55 +0900
committerJunio C Hamano <gitster@pobox.com>2017-09-26 14:15:55 +0900
commit7451fcdc0d3cffdb9aa79d2651830b44a8e052d6 (patch)
tree2bb05e00cf7a150c6aff0a7c17966d6450e0c4a1 /shell.c
parent28996cec80690d2322359d3650a57e8de6e01eb6 (diff)
parent4010f1d1b782eb7585e0e0abcefa794bd5ff29a0 (diff)
downloadgit-7451fcdc0d3cffdb9aa79d2651830b44a8e052d6.tar.gz
Sync with 2.14.2
* maint: Git 2.14.2 Git 2.13.6 Git 2.12.5 Git 2.11.4 Git 2.10.5 cvsimport: shell-quote variable used in backticks archimport: use safe_pipe_capture for user input shell: drop git-cvsserver support by default cvsserver: use safe_pipe_capture for `constant commands` as well cvsserver: use safe_pipe_capture instead of backticks cvsserver: move safe_pipe_capture() to the main package
Diffstat (limited to 'shell.c')
-rw-r--r--shell.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/shell.c b/shell.c
index fe2d314593..234b2d4f16 100644
--- a/shell.c
+++ b/shell.c
@@ -25,19 +25,6 @@ static int do_generic_cmd(const char *me, char *arg)
return execv_git_cmd(my_argv);
}
-static int do_cvs_cmd(const char *me, char *arg)
-{
- const char *cvsserver_argv[3] = {
- "cvsserver", "server", NULL
- };
-
- if (!arg || strcmp(arg, "server"))
- die("git-cvsserver only handles server: %s", arg);
-
- setup_path();
- return execv_git_cmd(cvsserver_argv);
-}
-
static int is_valid_cmd_name(const char *cmd)
{
/* Test command contains no . or / characters */
@@ -134,7 +121,6 @@ static struct commands {
{ "git-receive-pack", do_generic_cmd },
{ "git-upload-pack", do_generic_cmd },
{ "git-upload-archive", do_generic_cmd },
- { "cvs", do_cvs_cmd },
{ NULL },
};