mirror of
https://github.com/boostorg/boost.git
synced 2025-04-14 09:00:36 +00:00
Eliminate a git command by combining update and init.
Strangely enough git submodule command allows you to pass the --init argument to submodule update. git submodule update --init We can eliminate one extraneous call to git, should slightly help regression testers.
This commit is contained in:
parent
473a7b19a7
commit
60f74fc79c
1 changed files with 1 additions and 2 deletions
|
@ -907,8 +907,7 @@ class runner:
|
|||
self.git_command( 'remote', 'set-branches', '--add', 'origin',
|
||||
branch)
|
||||
self.git_command( 'pull', '--recurse-submodules' )
|
||||
self.git_command( 'submodule', 'init')
|
||||
self.git_command( 'submodule', 'update')
|
||||
self.git_command( 'submodule', 'update', '--init' )
|
||||
self.git_command( 'checkout', branch)
|
||||
if clean:
|
||||
self.git_command( 'reset', '--hard' )
|
||||
|
|
Loading…
Add table
Reference in a new issue