From bb4d1dd9a822d38b8b5a43dbbab25de639b504f5 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Fri, 10 Sep 2021 13:36:32 -0400 Subject: [PATCH] Eliminate internal use of FugitiveCommonDir() Lead by example. --- plugin/fugitive.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim index e67e930..80f33ae 100644 --- a/plugin/fugitive.vim +++ b/plugin/fugitive.vim @@ -478,7 +478,7 @@ function! s:ProjectionistDetect() abort if exists('+shellslash') && !&shellslash let base = tr(base, '/', '\') endif - let file = FugitiveCommonDir(dir) . '/info/projections.json' + let file = FugitiveFind('.git/info/projections.json', dir) if filereadable(file) call projectionist#append(base, file) endif