X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=http-push.c;h=f22f7e43caa3e804c5c8275ba0312d58611d7da3;hb=4838237cb73a13d38a7e4348b71be96b60eed21e;hp=edd553b7f69ed92fde301966e605e7562703718a;hpb=fc545433bdab7ec17e6609d2249771d407370a4d;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;