From a094080e8eec0bffcd17da6804ee09bc5309da6c Mon Sep 17 00:00:00 2001 From: Johannes Sixt Date: Thu, 22 Jan 2009 11:30:16 +0100 Subject: [PATCH] Do not issue the warning about the fallback of the PREFIX. It confuses gitk when it is browsing this repository on Windows. --- exec_cmd.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/exec_cmd.c b/exec_cmd.c index 408e4e55e1..13e036fc37 100644 --- a/exec_cmd.c +++ b/exec_cmd.c @@ -28,9 +28,10 @@ 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, " - "but prefix computation failed. " - "Using static fallback '%s'.\n", prefix); + /* + * RUNTIME_PREFIX requested, but prefix computation failed. + * Using static fallback. + */ } #endif