Revert "[GitFiles] Support files with special characters (#500)"

This reverts commit 004af25150.
This commit is contained in:
Junegunn Choi 2017-11-16 19:29:46 +09:00 committed by GitHub
parent 004af25150
commit 529894d769

View file

@ -511,9 +511,9 @@ function! fzf#vim#gitfiles(args, ...)
endif
if a:args != '?'
return s:fzf('gfiles', {
\ 'source': 'git ls-files -z '.a:args.(s:is_win ? '' : ' | uniq'),
\ 'source': 'git ls-files '.a:args.(s:is_win ? '' : ' | uniq'),
\ 'dir': root,
\ 'options': '--read0 -m --prompt "GitFiles> "'
\ 'options': '-m --prompt "GitFiles> "'
\}, a:000)
endif