From 2b5effe2f18e51143a151ef2d9c0843bf19c3dd6 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Sun, 19 Aug 2018 18:03:41 -0400 Subject: [PATCH] Fix :Gbrowse with cwd other than work tree --- autoload/fugitive.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index b64a618..39ea473 100644 --- 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