mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-16 15:23:51 -05:00
Provide fugitive#repo()
This commit is contained in:
@@ -181,6 +181,10 @@ function! s:repo(...) abort
|
||||
call s:throw('not a git repository: '.expand('%:p'))
|
||||
endfunction
|
||||
|
||||
function! fugitive#repo(...)
|
||||
return call('s:repo', a:000)
|
||||
endfunction
|
||||
|
||||
function! s:repo_dir(...) dict abort
|
||||
return join([self.git_dir]+a:000,'/')
|
||||
endfunction
|
||||
|
||||
Reference in New Issue
Block a user