From e8f4f28c93055018f451721603dc4e9a884c935f Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Tue, 18 Dec 2018 18:44:49 -0500 Subject: [PATCH] Replace deprecated repository relative path syntax --- autoload/fugitive.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index eaff992..b22f389 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -1852,7 +1852,7 @@ function! s:StageDiff(diff) abort execute 'Gedit '.s:fnameescape(':0:'.filename) return a:diff.' -' else - execute 'Gedit '.s:fnameescape('/'.filename) + execute 'Gedit '.s:fnameescape(':(top)'.filename) return a:diff endif endfunction