From 73f9a86652444ad50e22a839396525687d327d7f Mon Sep 17 00:00:00 2001 From: San GH Date: Sun, 8 Feb 2015 16:55:59 -0500 Subject: [PATCH] Remove `--progress` option from fetch and clone. This breaks on old versions of git (at least 1.7.0.4, but I didn't go look to see where this option is introduced). I think it can just be removed because you can't see it in the `:PlugUpdate` screen. --- plug.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plug.vim b/plug.vim index 03b7b16..5136361 100644 --- a/plug.vim +++ b/plug.vim @@ -923,7 +923,7 @@ while 1 " Without TCO, Vim stack is bound to explode if valid if pull call s:spawn(name, - \ printf('(git fetch --progress 2>&1 && git checkout -q %s 2>&1 && git merge --ff-only origin/%s 2>&1 && git submodule update --init --recursive 2>&1)', + \ printf('(git fetch 2>&1 && git checkout -q %s 2>&1 && git merge --ff-only origin/%s 2>&1 && git submodule update --init --recursive 2>&1)', \ s:shellesc(spec.branch), s:shellesc(spec.branch)), { 'dir': spec.dir }) else let s:jobs[name] = { 'running': 0, 'result': 'Already installed', 'error': 0 } @@ -933,7 +933,7 @@ while 1 " Without TCO, Vim stack is bound to explode endif else call s:spawn(name, - \ printf('git clone --progress --recursive %s -b %s %s 2>&1', + \ printf('git clone --recursive %s -b %s %s 2>&1', \ s:shellesc(spec.uri), \ s:shellesc(spec.branch), \ s:shellesc(s:trim(spec.dir))), { 'new': 1 })