summaryrefslogtreecommitdiff
path: root/check
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2015-02-10 17:06:59 +0000
committerSam Thursfield <sam.thursfield@codethink.co.uk>2015-02-10 17:55:38 +0000
commit0855c357e74e6dd7aa7921d863e6144b89fc662b (patch)
treed08f8ef7aa86088ea445e11020f71eb520280407 /check
parentedf5232690a648b715a2649f37393c0565bc127f (diff)
downloadmorph-0855c357e74e6dd7aa7921d863e6144b89fc662b.tar.gz
Only update Git submodules in cache when necessary
This saves a duplicate `git remote update origin` that was being run as part of each chunk build. For any repos that have submodules, it also avoids updating repos if the SHA1 we need to build is already present locally. As well as speeding up builds slightly, this means Morph can now build without being connected to a network, as long as the local Git cache all of the necessary repos and commits in the build, without needing the '--no-git-update' option. The code is also now in a more logical place than before.
Diffstat (limited to 'check')
0 files changed, 0 insertions, 0 deletions