mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-11 04:53:45 -05:00
Fix :Gbrowse with cwd other than work tree
This commit is contained in:
@@ -500,7 +500,7 @@ function! fugitive#Path(url, ...) abort
|
||||
endfunction
|
||||
|
||||
function! s:Relative(...) abort
|
||||
return fugitive#Path(@%, a:0 ? a:1 : './')
|
||||
return fugitive#Path(@%, a:0 ? a:1 : ':(top)')
|
||||
endfunction
|
||||
|
||||
function! fugitive#Route(object, ...) abort
|
||||
|
||||
Reference in New Issue
Block a user