Replace deprecated repository relative path syntax

This commit is contained in:
Tim Pope 2018-12-18 18:44:49 -05:00
parent da3b2f3285
commit e8f4f28c93

View File

@ -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