diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim index a94c59f..5de9c88 100644 --- a/plugin/fugitive.vim +++ b/plugin/fugitive.vim @@ -1039,14 +1039,14 @@ function! s:Diff(bang,...) abort if exists(':DiffGitCached') return 'DiffGitCached' elseif (!a:0 || a:1 == ':') && s:buffer().commit() =~# '^[0-1]\=$' && s:repo().git_chomp_in_tree('ls-files', '--unmerged', '--', s:buffer().path()) !=# '' - execute 'leftabove '.split.' `=fugitive#buffer().repo().translate(s:buffer().expand('':2''))`' - diffthis - wincmd p - execute 'rightbelow '.split.' `=fugitive#buffer().repo().translate(s:buffer().expand('':3''))`' - diffthis - wincmd p - diffthis - return '' + execute 'leftabove '.split.' `=fugitive#buffer().repo().translate(s:buffer().expand('':2''))`' + diffthis + wincmd p + execute 'rightbelow '.split.' `=fugitive#buffer().repo().translate(s:buffer().expand('':3''))`' + diffthis + wincmd p + diffthis + return '' elseif a:0 if a:1 ==# '' return ''