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 b4b75ef682da3e946c648d3634ade39d0af49aba (tree)
parent fc0c98f5c0533fe14da20516f901b933324130f3
Author: sgur <sgurrr@gmail.com>
Date:   Fri,  9 Dec 2011 13:13:25 +0900

Work around slow \\ Windows network path

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

diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim @@ -116,7 +116,7 @@ function! s:ExtractGitDir(path) abort let ofn = "" let nfn = fn while fn != ofn - if filereadable(fn . '/.git/HEAD') + if isdirectory(fn) && filereadable(fn . '/.git/HEAD') return s:sub(simplify(fnamemodify(fn . '/.git',':p')),'\W$','') elseif fn =~ '\.git$' && filereadable(fn . '/HEAD') return s:sub(simplify(fnamemodify(fn,':p')),'\W$','')