Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'shell.c')
-rw-r--r--shell.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/shell.c b/shell.c
index ca00807d7e..5e70acb9a6 100644
--- a/shell.c
+++ b/shell.c
@@ -148,13 +148,6 @@ int cmd_main(int argc, const char **argv)
git_setup_gettext();
/*
- * Always open file descriptors 0/1/2 to avoid clobbering files
- * in die(). It also avoids messing up when the pipes are dup'ed
- * onto stdin/stdout/stderr in the child processes we spawn.
- */
- sanitize_stdfds();
-
- /*
* Special hack to pretend to be a CVS server
*/
if (argc == 2 && !strcmp(argv[1], "cvs server")) {