mirror of
https://github.com/junegunn/vim-plug.git
synced 2026-10-07 20:44:35 +08:00
1 parent
41de3c713c
commit
656ccef8dc
2 files changed
+17
-5
No files matched your search
@@ -841,7 +841,12 @@ Execute (PlugUpdate!):
|
||||
Execute (When submodules are not initialized):
|
||||
call system(printf('cd %s && git submodule deinit subsubmodule', g:plugs['subsubmodule'].dir))
|
||||
|
||||
^ #481 submodule update should use standard shell
|
||||
let sh = &shell
|
||||
set sh=/bin/echo
|
||||
silent PlugUpdate!
|
||||
let &shell = sh
|
||||
unlet sh
|
||||
q
|
||||
AssertEqual ' ', system(printf('cd %s && git submodule status', g:plugs['subsubmodule'].dir))[0],
|
||||
\ 'subsubmodule/subsubmodule should be initialized'
|
||||
|
||||
Reference in new issue
Block a user