mirror of
https://github.com/tpope/vim-fugitive.git
synced 2026-10-11 23:50:19 +08:00
Fix :Gbrowse with cwd other than work tree
This commit is contained in:
1 parent
662b501eee
commit
2b5effe2f1
1 file changed
+1
-1
@@ -500,7 +500,7 @@ function! fugitive#Path(url, ...) abort
|
|||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! s:Relative(...) abort
|
function! s:Relative(...) abort
|
||||||
return fugitive#Path(@%, a:0 ? a:1 : './')
|
return fugitive#Path(@%, a:0 ? a:1 : ':(top)')
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! fugitive#Route(object, ...) abort
|
function! fugitive#Route(object, ...) abort
|
||||||
|
|||||||
Reference in new issue
Block a user