Include trailing slash in prefix instructions

Closes https://github.com/git-for-windows/git/issues/3786

Signed-off-by: Michael Osthege <michael.osthege@outlook.com>
This commit is contained in:
Michael Osthege
2022-04-13 16:39:41 +02:00
committed by Michael Osthege
parent fa8edb885d
commit 16f733a03e

2
path.c
View File

@@ -741,7 +741,7 @@ char *interpolate_path(const char *path, int real_home)
#ifdef __MINGW32__
if (path[0] == '/') {
warning(_("encountered old-style '%s' that should be '%%(prefix)%s'"), path, path);
warning(_("encountered old-style '%s' that should be '%%(prefix)/%s'"), path, path);
return system_path(path + 1);
}
#endif