From c26b4b018af2abb9c6ec8d1e95967dc55964635d Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Fri, 11 Jun 2021 17:40:15 -0400 Subject: [PATCH] Fix shell escaping edge case on win32 This is a proactive fix; no erroneous behavior has been observed. --- autoload/fugitive.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index d908c27..e64c6e2 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -41,7 +41,7 @@ endfunction function! s:WinShellEsc(arg) abort if type(a:arg) == type([]) - return join(map(copy(a:arg), 's:shellesc(v:val)')) + return join(map(copy(a:arg), 's:WinShellEsc(v:val)')) elseif a:arg =~# '^[A-Za-z0-9_/:.-]\+$' return a:arg else