commit 2b5effe2f18e51143a151ef2d9c0843bf19c3dd6 (tree)
parent 662b501eee87eec5413eecea337f121c8e7f42df
Author: Tim Pope <code@tpope.net>
Date: Sun, 19 Aug 2018 18:03:41 -0400
Fix :Gbrowse with cwd other than work tree
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim
@@ -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