summaryrefslogtreecommitdiff
path: root/http-backend.c
diff options
context:
space:
mode:
Diffstat (limited to 'http-backend.c')
-rw-r--r--http-backend.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/http-backend.c b/http-backend.c
index 52314039e3..adc8c8c3da 100644
--- a/http-backend.c
+++ b/http-backend.c
@@ -653,7 +653,7 @@ static int bad_request(struct strbuf *hdr, const struct service_cmd *c)
return 0;
}
-int main(int argc, char **argv)
+int cmd_main(int argc, const char **argv)
{
char *method = getenv("REQUEST_METHOD");
char *dir;
@@ -662,9 +662,6 @@ int main(int argc, char **argv)
int i;
struct strbuf hdr = STRBUF_INIT;
- git_setup_gettext();
-
- git_extract_argv0_path(argv[0]);
set_die_routine(die_webcgi);
set_die_is_recursing_routine(die_webcgi_recursing);