Do not issue the warning about the fallback of the PREFIX.

It confuses gitk when it is browsing this repository on Windows.
This commit is contained in:
Johannes Sixt
2009-01-22 11:30:16 +01:00
parent 26de157e7f
commit a094080e8e

View File

@@ -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