From cd44b03db2158bf60f12415a91d27434589992f7 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Wed, 20 Sep 2017 11:28:34 +0900 Subject: [PATCH] Remove extra quotes in PlugDiff output (#680) --- plug.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plug.vim b/plug.vim index 70d3b18..c3a515e 100644 --- a/plug.vim +++ b/plug.vim @@ -2406,7 +2406,7 @@ function! s:diff() call s:append_ul(2, origin ? 'Pending updates:' : 'Last update:') for [k, v] in plugs let range = origin ? '..origin/'.v.branch : 'HEAD@{1}..' - let diff = s:system_chomp('git log --graph --color=never '.join(map(['--pretty=format:"%x01%h%x01%d%x01%s%x01%cr"', range], 's:shellesc(v:val)')), v.dir) + let diff = s:system_chomp('git log --graph --color=never '.join(map(['--pretty=format:%x01%h%x01%d%x01%s%x01%cr', range], 's:shellesc(v:val)')), v.dir) if !empty(diff) let ref = has_key(v, 'tag') ? (' (tag: '.v.tag.')') : has_key(v, 'commit') ? (' '.v.commit) : '' call append(5, extend(['', '- '.k.':'.ref], map(s:lines(diff), 's:format_git_log(v:val)')))