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

This reverts commit 004af25150.
This commit is contained in:
Junegunn Choi
2017-11-16 19:30:14 +09:00
committed by GitHub
parent 004af25150
commit 18df14c2f6

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