]> git.ipfire.org Git - thirdparty/git.git/commit
trace2: find exec-dir before trace2 initialization
authorJeff Hostetler <jeffhost@microsoft.com>
Mon, 15 Apr 2019 20:39:45 +0000 (13:39 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 16 Apr 2019 04:37:06 +0000 (13:37 +0900)
commita7bc01eb25c8743a9ab22d7007555b3ccad5d99c
treecaa9207e0fa2bcf939acf4a228e93a4dc935630f
parent39f43177442d44d8a945c3ff6a8c08f481539763
trace2: find exec-dir before trace2 initialization

Teach Git to resolve the executable directory before initializing
Trace2.  This allows the system configuration directory to be
discovered earlier (because it is sometimes relative to the prefix
or runtime-prefix).

This will be used by the next commit to allow trace2 settings to
be loaded from the system config.

Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
common-main.c