commit 4581cd4217d01398425691dcbbb95fb239a2c2df (tree)
parent df103dc5959ee50ddf5e10bc7c0fd5431799d5c5
Author: Tim Pope <code@tpope.net>
Date: Tue, 24 Jun 2014 12:09:29 -0400
Support -L in :Glog errorformat
References #507.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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