Fix :Gbrowse with cwd other than work tree
This commit is contained in:
parent
662b501eee
commit
2b5effe2f1
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user