From 4581cd4217d01398425691dcbbb95fb239a2c2df Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Tue, 24 Jun 2014 12:09:29 -0400 Subject: [PATCH] Support -L in :Glog errorformat References #507. --- plugin/fugitive.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim index 8f5a5e8..4baf267 100644 --- a/plugin/fugitive.vim +++ b/plugin/fugitive.vim @@ -1132,7 +1132,7 @@ function! s:Log(cmd, count, ...) abort try execute cd.'`=s:repo().tree()`' let &grepprg = escape(call(s:repo().git_command,cmd,s:repo()),'%#') - let &grepformat = '%f:%l::%m,%f:::%m' + let &grepformat = '%f:%l::%m,%A%f:::%m,%Cdiff --git %.%#,%C--- %.%#,%C+++ %.%#,%Z@@ -%\d%\+\,%\d%\+ +%l\,%\d%\+ @@,%-G%.%#' exe a:cmd finally let &grepformat = grepformat