mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-12 05:13:53 -05:00
Fix :Glog with diff.noprefix set
Closes https://github.com/tpope/vim-fugitive/issues/606
This commit is contained in:
@@ -3850,7 +3850,7 @@ function! s:Log(type, bang, line1, count, args, legacy) abort
|
||||
endif
|
||||
let cmd = ['--no-pager']
|
||||
if fugitive#GitVersion(1, 9)
|
||||
call extend(cmd, ['-c', 'diff.context=0', 'log'])
|
||||
call extend(cmd, ['-c', 'diff.context=0', '-c', 'diff.noprefix=false', 'log'])
|
||||
else
|
||||
call extend(cmd, ['log', '-U0', '--no-patch'])
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user