summaryrefslogtreecommitdiff
path: root/morphlib/sourcepool_tests.py
diff options
context:
space:
mode:
authorSam Thursfield <sam@afuera.me.uk>2014-06-14 10:42:52 +0100
committerSam Thursfield <sam.thursfield@codethink.co.uk>2014-06-18 16:03:08 +0100
commit375027c23eb0f8163615e9c1c97a40ef92504db9 (patch)
treee46db4491c07ad9bc03692d4f865ab2300dc3aa8 /morphlib/sourcepool_tests.py
parentb2a9d8443023505acacb447dc95a001a3eacd238 (diff)
downloadmorph-375027c23eb0f8163615e9c1c97a40ef92504db9.tar.gz
Only updated cached git repos when necessary
When the given ref points to a specific commit, and it's already available in the locally cached copy of repo, there's no need to update the repo. If the ref points to a branch or tag, and the user didn't pass --no-git-update, the locally cached copy of the repo will still be updated. This should speed up many Morph commands.
Diffstat (limited to 'morphlib/sourcepool_tests.py')
0 files changed, 0 insertions, 0 deletions