motiejus/dotfiles

Unnamed repository; edit this file 'description' to name the repository.
git clone https://git.jakstys.lt/motiejus/dotfiles.git
Log | Tree | Refs | README | LICENSE

commit 216c85afe0a3d3b57dc717c098334fd59afeb13e (tree)
parent b75a131805b07a9f51a0d9078beef02481c1a80c
Author: Tim Pope <code@tpope.net>
Date:   Mon,  9 May 2011 13:31:19 -0400

Fix history browsing on csh and Windows

Diffstat:
Mplugin/fugitive.vim | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim @@ -1619,7 +1619,7 @@ function! s:ReplaceCmd(cmd,...) abort let prefix = 'env GIT_INDEX_FILE='.s:shellesc(a:1).' ' endif endif - call system(prefix.a:cmd.' > '.tmp) + call writefile(split(system(prefix.a:cmd), "\n", 1), tmp) finally if exists('old_index') let $GIT_INDEX_FILE = old_index