Revert "Shallow clone by default (#122 #217)"

This reverts commit c632c1fd6a.
This commit is contained in:
Junegunn Choi
2015-04-28 13:47:14 +09:00
parent 2218b8fe20
commit 8f1df15cc3
3 changed files with 8 additions and 18 deletions

View File

@@ -270,11 +270,9 @@ Execute (PlugDiff - 'No updates.'):
AssertEqual 'No updates.', getline(1)
q
Execute (New commits on remote, PlugUpdate, then PlugDiff):
Execute (Rollback recent updates, PlugUpdate, then PlugDiff):
for repo in ['seoul256.vim', 'vim-emoji']
for _ in range(2)
call system(printf('cd /tmp/junegunn/%s && git commit --allow-empty -m "update"', repo))
endfor
call system(printf('cd %s/%s && git reset HEAD^^ --hard', g:plug_home, repo))
endfor
PlugUpdate
@@ -641,8 +639,8 @@ Execute (On update):
Plug 'junegunn/vim-pseudocl', { 'do': 'touch updated' }
call plug#end()
" New commits on remote
call system('cd /tmp/junegunn/vim-pseudocl && git commit --allow-empty -m "update"')
" Reset for updates
call system('cd '.g:plugs['vim-pseudocl'].dir.' && git reset --hard HEAD^')
silent PlugUpdate
Log getline(1, '$')
@@ -705,7 +703,6 @@ Execute (Using Funcref):
Plug 'junegunn/vim-pseudocl', { 'do': function('PlugUpdated') }
call plug#end()
call system('cd /tmp/junegunn/vim-easy-align && git commit --allow-empty -m "update"')
call system('cd '.g:plugs['vim-easy-align'].dir.' && git reset --hard HEAD^')
call system('rm -rf '.g:plugs['vim-pseudocl'].dir)