X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=http-push.c;h=f22f7e43caa3e804c5c8275ba0312d58611d7da3;hb=828ea97de486c1693d6e4f2c7347acb50235a85d;hp=edd553b7f69ed92fde301966e605e7562703718a;hpb=1a7bd4fcfa0c57617828dfc1b6b525af674f6d49;p=git.git diff --git a/http-push.c b/http-push.c index edd553b7f..f22f7e43c 100644 --- a/http-push.c +++ b/http-push.c @@ -1748,6 +1748,8 @@ int main(int argc, char **argv) int new_refs; struct ref *ref, *local_refs; + git_setup_gettext(); + git_extract_argv0_path(argv[0]); repo = xcalloc(sizeof(*repo), 1); @@ -1820,7 +1822,7 @@ int main(int argc, char **argv) memset(remote_dir_exists, -1, 256); - http_init(NULL, repo->url); + http_init(NULL, repo->url, 1); #ifdef USE_CURL_MULTI is_running_queue = 0;