mirror of
https://github.com/junegunn/vim-plug.git
synced 2024-12-23 20:45:31 -07:00
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.
This commit is contained in:
parent
6e7509e2ef
commit
73f9a86652
4
plug.vim
4
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 })
|
||||
|
Loading…
Reference in New Issue
Block a user