mirror of
https://github.com/git/git.git
synced 2026-04-02 04:50:12 +02:00
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:
@@ -28,9 +28,10 @@ const char *system_path(const char *path)
|
|||||||
!(prefix = strip_path_suffix(argv0_path, BINDIR)) &&
|
!(prefix = strip_path_suffix(argv0_path, BINDIR)) &&
|
||||||
!(prefix = strip_path_suffix(argv0_path, "git"))) {
|
!(prefix = strip_path_suffix(argv0_path, "git"))) {
|
||||||
prefix = PREFIX;
|
prefix = PREFIX;
|
||||||
fprintf(stderr, "RUNTIME_PREFIX requested, "
|
/*
|
||||||
"but prefix computation failed. "
|
* RUNTIME_PREFIX requested, but prefix computation failed.
|
||||||
"Using static fallback '%s'.\n", prefix);
|
* Using static fallback.
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user