summaryrefslogtreecommitdiff
path: root/remote-curl.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-02-18 11:44:57 -0800
committerJunio C Hamano <gitster@pobox.com>2015-02-18 11:44:57 -0800
commitf18e3896f7e3fd8de060aa37d9e35387a3b9282b (patch)
tree9a7797f36469d12f26738e121c7bcfb0c215d52f /remote-curl.c
parentc2d081ceb9b7d710113ba162f749dbc99bc42ed2 (diff)
parentf18604bbf2c391c689a41fca14cbaeff5e106255 (diff)
downloadgit-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.c2
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) {