mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-13 13:53:51 -05:00
Eliminate internal use of FugitiveCommonDir()
Lead by example.
This commit is contained in:
@@ -478,7 +478,7 @@ function! s:ProjectionistDetect() abort
|
|||||||
if exists('+shellslash') && !&shellslash
|
if exists('+shellslash') && !&shellslash
|
||||||
let base = tr(base, '/', '\')
|
let base = tr(base, '/', '\')
|
||||||
endif
|
endif
|
||||||
let file = FugitiveCommonDir(dir) . '/info/projections.json'
|
let file = FugitiveFind('.git/info/projections.json', dir)
|
||||||
if filereadable(file)
|
if filereadable(file)
|
||||||
call projectionist#append(base, file)
|
call projectionist#append(base, file)
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user