motiejus/dotfiles

Unnamed repository; edit this file 'description' to name the repository.
git clone https://git.jakstys.lt/motiejus/dotfiles.git
Log | Tree | Refs | README | LICENSE

commit b6dbe402e8ea7632129f9ef96f5dff3dedc35517 (tree)
parent 86c276d6297f8580e366ffe340df91ab012226a9
Author: Tim Pope <code@tpope.net>
Date:   Fri, 16 Aug 2019 07:07:33 -0400

Fix :Glog with diff.noprefix set

Closes https://github.com/tpope/vim-fugitive/issues/606

Diffstat:
Mautoload/fugitive.vim | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim @@ -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