common-main: call git_extract_argv0_path()
[gitweb.git] / shell.c
diff --git a/shell.c b/shell.c
index 3dd7fdcfe61479f213ebeaedbfd3090cd5a93852..ca00807d7ec0c2b20c24cb9baefc30e378db6cef 100644 (file)
--- a/shell.c
+++ b/shell.c
@@ -147,8 +147,6 @@ int cmd_main(int argc, const char **argv)
 
        git_setup_gettext();
 
-       git_extract_argv0_path(argv[0]);
-
        /*
         * Always open file descriptors 0/1/2 to avoid clobbering files
         * in die().  It also avoids messing up when the pipes are dup'ed