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 8c84ea6fdb1e019b6dd0d4157db772abc4896b1a (tree)
parent 1e57d678bad1ffb7468e7dccc45401d1b096249a
Author: Tim Pope <code@tpope.net>
Date:   Tue, 12 Nov 2019 21:31:36 -0500

Replace --no-patch with -s for Git < 1.8.4

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

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

diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim @@ -3974,7 +3974,7 @@ function! fugitive#LogCommand(line1, count, range, bang, mods, args, type) abort if fugitive#GitVersion(1, 9) call extend(cmd, ['-c', 'diff.context=0', '-c', 'diff.noprefix=false', 'log']) else - call extend(cmd, ['log', '-U0', '--no-patch']) + call extend(cmd, ['log', '-U0', '-s']) endif call extend(cmd, \ ['--no-color', '--no-ext-diff', '--pretty=format:fugitive ' . format] +