Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-03-07 23:47:15 +0300
committerJunio C Hamano <gitster@pobox.com>2010-03-07 23:47:15 +0300
commit000d2c07ef65b19bd9cf30ef44a3018b8f110b2c (patch)
tree2036a014edb5dbe27f1caa33366cf2eeadd23c43
parent87912fd617fb24ebcaa1c3ec57178821db9d2980 (diff)
parentaa0945701e39cf099ca9c28f79e239359781e4f6 (diff)
Merge branch 'js/runtime-prefix-trace-not-warn'
* js/runtime-prefix-trace-not-warn: Print RUNTIME_PREFIX warning only when GIT_TRACE is set
-rw-r--r--exec_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/exec_cmd.c b/exec_cmd.c
index 408e4e55e1..b2c07c70ce 100644
--- 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);
}