diff --git a/autoload/fzf/vim.vim b/autoload/fzf/vim.vim index 09bb5a8..9ebbf47 100755 --- a/autoload/fzf/vim.vim +++ b/autoload/fzf/vim.vim @@ -712,7 +712,7 @@ endfunction function! s:get_git_root(dir) let dir = len(a:dir) ? a:dir : substitute(split(expand('%:p:h'), '[/\\]\.git\([/\\]\|$\)')[0], '^fugitive://', '', '') - let root = systemlist('git -C ' . fzf#shellescape(dir) . ' rev-parse --show-toplevel')[0] + let root = systemlist('git -C ' . shellescape(dir) . ' rev-parse --show-toplevel')[0] return v:shell_error ? '' : (len(a:dir) ? fnamemodify(a:dir, ':p') : root) endfunction