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