summaryrefslogtreecommitdiff
path: root/http-push.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-12-19 16:06:41 -0800
committerJunio C Hamano <gitster@pobox.com>2011-12-19 16:06:41 -0800
commit2dccad3c6f9df2b1eea7eb5617e2748a7f2daa40 (patch)
tree3753154d3da34ff50e82a667a75ad56437d4d12f /http-push.c
parent85878dd0c929dde5d91411b57ef9f2d696cbc7d8 (diff)
parent5e9637c629702e3d41ad01d95956d1835d7338e0 (diff)
downloadgit-2dccad3c6f9df2b1eea7eb5617e2748a7f2daa40.tar.gz
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);