From 3463b885b0c3b31812f31a9a0f5feddc4dc9a176 Mon Sep 17 00:00:00 2001 From: Michael Osthege Date: Wed, 13 Apr 2022 16:39:41 +0200 Subject: [PATCH] Include trailing slash in prefix instructions Closes https://github.com/git-for-windows/git/issues/3786 Signed-off-by: Michael Osthege --- path.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/path.c b/path.c index 47254b341620b7..78b9b189df65fa 100644 --- a/path.c +++ b/path.c @@ -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