commit 003f38c6a4d8e3d527e4e1dfeab6fdf05c8ff149 (tree)
parent 3f703b6e03c4a6f28fa9f520a85374da86efc253
Author: Tim Pope <code@tpope.net>
Date: Sun, 4 Nov 2012 17:28:25 -0500
Escape # in :Glog
Closes #265.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim
@@ -1066,7 +1066,7 @@ function! s:Log(cmd,...)
let dir = getcwd()
try
execute cd.'`=s:repo().tree()`'
- let &grepprg = escape(call(s:repo().git_command,cmd,s:repo()),'%')
+ let &grepprg = escape(call(s:repo().git_command,cmd,s:repo()),'%#')
let &grepformat = '%f::%m'
exe a:cmd
finally