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 7d716d5a5491ba6b3a596f2128c4f08253d1d364..b2e5a86dffd2e11b346a71615e3f146165c41ad9 100644
(file)
--- a/
common-main.c
+++ b/
common-main.c
@@
-32,14
+32,14
@@
int main(int argc, const char **argv)
*/
sanitize_stdfds();
+ git_resolve_executable_dir(argv[0]);
+
git_setup_gettext();
initialize_the_repository();
attr_start();
- git_extract_argv0_path(argv[0]);
-
restore_sigpipe_to_default();
return cmd_main(argc, argv);