mirror of
https://github.com/tpope/vim-fugitive.git
synced 2026-10-07 12:44:39 +08:00
Eliminate internal use of FugitiveCommonDir()
Lead by example.
This commit is contained in:
1 parent
b6545ad389
commit
bb4d1dd9a8
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user