summaryrefslogtreecommitdiffstats
path: root/http-push.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-12-20 01:06:41 +0100
committerJunio C Hamano <gitster@pobox.com>2011-12-20 01:06:41 +0100
commit2dccad3c6f9df2b1eea7eb5617e2748a7f2daa40 (patch)
tree3753154d3da34ff50e82a667a75ad56437d4d12f /http-push.c
parentMerge branch 'ew/keepalive' (diff)
parenti18n: add infrastructure for translating Git with gettext (diff)
downloadgit-2dccad3c6f9df2b1eea7eb5617e2748a7f2daa40.tar.xz
git-2dccad3c6f9df2b1eea7eb5617e2748a7f2daa40.zip
Merge branch 'ab/enable-i18n'
* ab/enable-i18n: i18n: add infrastructure for translating Git with gettext Conflicts: Makefile
Diffstat (limited to 'http-push.c')
-rw-r--r--http-push.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/http-push.c b/http-push.c
index cdfdd4f791..f22f7e43ca 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);