Thread (8 messages) flat view 8 messages, 2 authors, 2016-06-15

Re: [PATCH] Print RUNTIME_PREFIX warning only when GIT_TRACE is set

From: Johannes Schindelin <hidden>
Date: 2016-06-15 22:48:20

Hi,

On Tue, 23 Feb 2010, Johannes Sixt wrote:
From: Johannes Sixt <redacted>

When RUNTIME_PREFIX is enabled, the installation prefix is derived by
trying a limited set of known locations where the git executable can
reside. If none of these is found, a warning is emitted.

When git is built in a directory that matches neither of these known names,
the warning would always be emitted when the uninstalled executable is run.
This is a problem on Windows, where gitk picks the uninstalled git when
invoked from the build directory and gets confused by the warning.

Print the warning only when GIT_TRACE is set.

Signed-off-by: Johannes Sixt <redacted>
ACK

And thanks,
Dscho
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help