author | Junio C Hamano <gitster@pobox.com> | |
Sun, 7 Mar 2010 20:47:15 +0000 (12:47 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 7 Mar 2010 20:47:15 +0000 (12:47 -0800) |
* js/runtime-prefix-trace-not-warn:
Print RUNTIME_PREFIX warning only when GIT_TRACE is set
Print RUNTIME_PREFIX warning only when GIT_TRACE is set
exec_cmd.c | patch | blob | history |
diff --git a/exec_cmd.c b/exec_cmd.c
index 408e4e55e1c58931444c772d35d23b505bf3e2ea..b2c07c70ce26312d81f499d3acf90dab919f1d24 100644 (file)
--- a/exec_cmd.c
+++ b/exec_cmd.c
!(prefix = strip_path_suffix(argv0_path, BINDIR)) &&
!(prefix = strip_path_suffix(argv0_path, "git"))) {
prefix = PREFIX;
- fprintf(stderr, "RUNTIME_PREFIX requested, "
+ trace_printf("RUNTIME_PREFIX requested, "
"but prefix computation failed. "
"Using static fallback '%s'.\n", prefix);
}