mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-12 13:23:52 -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
|
endif
|
||||||
let cmd = ['--no-pager']
|
let cmd = ['--no-pager']
|
||||||
if fugitive#GitVersion(1, 9)
|
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
|
else
|
||||||
call extend(cmd, ['log', '-U0', '--no-patch'])
|
call extend(cmd, ['log', '-U0', '--no-patch'])
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user