From 8c84ea6fdb1e019b6dd0d4157db772abc4896b1a Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Tue, 12 Nov 2019 21:31:36 -0500 Subject: [PATCH] Replace --no-patch with -s for Git < 1.8.4 Closes https://github.com/tpope/vim-fugitive/issues/1398 --- autoload/fugitive.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index d9c118e..24c5edc 100644 --- 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] +