summaryrefslogtreecommitdiffstats
path: root/common-main.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-12-05 20:24:17 +0100
committerJunio C Hamano <gitster@pobox.com>2016-12-05 20:24:28 +0100
commitcd1c2e7301820f9a198c8d665cd72d930233d02a (patch)
treebae2ad03e1ca04c3168e2f4bc2db840b14bc043d /common-main.c
parentMerge branch 'tk/diffcore-delta-remove-unused' into maint (diff)
parentcommon-main: stop munging argv[0] path (diff)
downloadgit-cd1c2e7301820f9a198c8d665cd72d930233d02a.tar.xz
git-cd1c2e7301820f9a198c8d665cd72d930233d02a.zip
Merge branch 'jk/common-main' into maint-2.10
* jk/common-main: common-main: stop munging argv[0] path git-compat-util: move content inside ifdef/endif guards
Diffstat (limited to 'common-main.c')
-rw-r--r--common-main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common-main.c b/common-main.c
index 44a29e8b13..c654f95551 100644
--- a/common-main.c
+++ b/common-main.c
@@ -33,7 +33,7 @@ int main(int argc, const char **argv)
git_setup_gettext();
- argv[0] = git_extract_argv0_path(argv[0]);
+ git_extract_argv0_path(argv[0]);
restore_sigpipe_to_default();