Merge branch 'js/test-lint-pathname' into maint
[gitweb.git] / shell.c
diff --git a/shell.c b/shell.c
index ca00807d7ec0c2b20c24cb9baefc30e378db6cef..464ee1a201ff014c390ddfd653088f7dffd13a84 100644 (file)
--- a/shell.c
+++ b/shell.c
@@ -145,15 +145,6 @@ int cmd_main(int argc, const char **argv)
        struct commands *cmd;
        int count;
 
-       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
         */