mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-08 11:33:47 -05:00
@@ -1901,7 +1901,7 @@ function! s:ReplaceCmd(cmd,...) abort
|
||||
endif
|
||||
endif
|
||||
if &shell =~# 'cmd'
|
||||
call system('cmd /c "'.prefix.a:cmd.' > '.tmp.'"')
|
||||
call system('cmd /c "'.prefix.s:gsub(a:cmd,'[<>]', '^^^&').' > '.tmp.'"')
|
||||
else
|
||||
call system(' ('.prefix.a:cmd.' > '.tmp.') ')
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user