X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=http-fetch.c;h=ba3ea106708de01fc933e6743ab109bef2697f75;hb=926b1ec63ee045503f609e88ca445b94c06bd5d7;hp=8c4c5d2224a2493a648e6a34257bc150f2712dd0;hpb=110c511dbeff65f7ae92216cf1d976a9093d911f;p=git.git diff --git a/http-fetch.c b/http-fetch.c index 8c4c5d222..ba3ea1067 100644 --- a/http-fetch.c +++ b/http-fetch.c @@ -22,6 +22,8 @@ int main(int argc, const char **argv) int get_verbosely = 0; int get_recover = 0; + git_setup_gettext(); + git_extract_argv0_path(argv[0]); while (arg < argc && argv[arg][0] == '-') { @@ -67,7 +69,7 @@ int main(int argc, const char **argv) git_config(git_default_config, NULL); - http_init(NULL); + http_init(NULL, url, 0); walker = get_http_walker(url); walker->get_tree = get_tree; walker->get_history = get_history;