diff --git a/autoload/fzf/vim.vim b/autoload/fzf/vim.vim index 7a1c4d7..7593f37 100755 --- a/autoload/fzf/vim.vim +++ b/autoload/fzf/vim.vim @@ -718,7 +718,7 @@ function! s:get_git_root(dir) return FugitiveWorkTree() endif let dir = len(a:dir) ? a:dir : substitute(split(expand('%:p:h'), '[/\\]\.git\([/\\]\|$\)')[0], '^fugitive://', '', '') - let root = systemlist('git -C ' . shellescape(dir) . ' rev-parse --show-toplevel')[0] + silent 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