From 529894d76906b2b62098122e5f06c85749740586 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Thu, 16 Nov 2017 19:29:46 +0900 Subject: [PATCH] Revert "[GitFiles] Support files with special characters (#500)" This reverts commit 004af251507ade4e86e308a58ca9d69229a0dcec. --- autoload/fzf/vim.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autoload/fzf/vim.vim b/autoload/fzf/vim.vim index 4c69f9d..55d3b69 100644 --- a/autoload/fzf/vim.vim +++ b/autoload/fzf/vim.vim @@ -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