Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'js/runtime-prefix-trace-not-warn'
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
exec_cmd.c
patch
|
blob
|
history
raw
(from parent 1:
87912fd
)
diff --git
a/exec_cmd.c
b/exec_cmd.c
index 408e4e55e1c58931444c772d35d23b505bf3e2ea..b2c07c70ce26312d81f499d3acf90dab919f1d24 100644
(file)
--- a/
exec_cmd.c
+++ b/
exec_cmd.c
@@
-28,7
+28,7
@@
const char *system_path(const char *path)
!(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);
}