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 c118dabb89b6e7e42383d4cf6f426e53bb45279c (tree)
parent 8c076e3f68a5f77dc95cdc83ee28df8fba885099
Author: Tim Pope <code@tpope.net>
Date:   Fri, 20 Jul 2018 22:06:22 -0400

Fix :Glog

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

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

diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim @@ -1516,7 +1516,7 @@ function! s:Log(cmd, line1, line2, ...) abort let dir = getcwd() try execute cd s:fnameescape(s:repo().tree()) - let &grepprg = escape(s:git_command() + join(map(cmd, '" ".s:shellesc(v:val)'), ''), '%#') + let &grepprg = escape(s:git_command() . join(map(cmd, '" ".s:shellesc(v:val)'), ''), '%#') let &grepformat = '%Cdiff %.%#,%C--- %.%#,%C+++ %.%#,%Z@@ -%\d%\+\,%\d%\+ +%l\,%\d%\+ @@,%-G-%.%#,%-G+%.%#,%-G %.%#,%A%f::%m,%-G%.%#' exe a:cmd finally