Refactor handling of error_string in receive-pack
[gitweb.git] / git.c
diff --git a/git.c b/git.c
index 9b37f423216a6e8a86646ba15af642b9f7cc10e6..04fc99a3dd9666bb4c22c99754334aeecc08bab5 100644 (file)
--- a/git.c
+++ b/git.c
@@ -226,7 +226,7 @@ static void handle_internal_command(int argc, const char **argv, char **envp)
                { "add", cmd_add, RUN_SETUP | NOT_BARE },
                { "annotate", cmd_annotate, USE_PAGER },
                { "apply", cmd_apply },
-               { "archive", cmd_archive },
+               { "archive", cmd_archive, RUN_SETUP },
                { "blame", cmd_blame, RUN_SETUP },
                { "branch", cmd_branch, RUN_SETUP },
                { "bundle", cmd_bundle },