diff options
author | Junio C Hamano <gitster@pobox.com> | 2015-02-18 11:44:57 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-02-18 11:44:57 -0800 |
commit | f18e3896f7e3fd8de060aa37d9e35387a3b9282b (patch) | |
tree | 9a7797f36469d12f26738e121c7bcfb0c215d52f /remote-curl.c | |
parent | c2d081ceb9b7d710113ba162f749dbc99bc42ed2 (diff) | |
parent | f18604bbf2c391c689a41fca14cbaeff5e106255 (diff) | |
download | git-f18e3896f7e3fd8de060aa37d9e35387a3b9282b.tar.gz |
Merge branch 'ye/http-accept-language'
Using environment variable LANGUAGE and friends on the client side,
HTTP-based transports now send Accept-Language when making requests.
* ye/http-accept-language:
http: add Accept-Language header if possible
Diffstat (limited to 'remote-curl.c')
-rw-r--r-- | remote-curl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/remote-curl.c b/remote-curl.c index 515ac9b411..deb4bfe684 100644 --- a/remote-curl.c +++ b/remote-curl.c @@ -962,6 +962,8 @@ int main(int argc, const char **argv) struct strbuf buf = STRBUF_INIT; int nongit; + git_setup_gettext(); + git_extract_argv0_path(argv[0]); setup_git_directory_gently(&nongit); if (argc < 2) { |