Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
gettext: avoid initialization if the locale dir is not present
[gitweb.git]
/
common-main.c
diff --git
a/common-main.c
b/common-main.c
index 6a689007e7ce3fe08f148e8b82c0a1c618c513a5..b2e5a86dffd2e11b346a71615e3f146165c41ad9 100644
(file)
--- a/
common-main.c
+++ b/
common-main.c
@@
-32,11
+32,13
@@
int main(int argc, const char **argv)
*/
sanitize_stdfds();
+ git_resolve_executable_dir(argv[0]);
+
git_setup_gettext();
-
attr_start
();
+
initialize_the_repository
();
-
git_extract_argv0_path(argv[0]
);
+
attr_start(
);
restore_sigpipe_to_default();