diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2016-09-15 16:09:24 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2016-09-16 16:13:03 +0000 |
commit | 450ff3b4ebae80de192f24afb5cd1993faf226b4 (patch) | |
tree | 4ab5c27592775466a5eb0837e56a7317c09a54fb /.travis.yml | |
parent | 82d3f8435bc8819b39ece35cd062962b52b5a148 (diff) |
setup.py: Make prepareSubModules() a bit smarter
Avoid unnecessarily re-initializing the submodules and checking
out branches.
In a first loop, collect the subdirectories and check whether any
are missing. Initialize submodules only in that case.
In the second loop, check out the correct branch if it differs.
Change-Id: I3c16fd9b7bd6feb77b7b921d61f7e622cfab797f
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to '.travis.yml')
0 files changed, 0 insertions, 0 deletions