diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2014-11-11 17:06:58 +0000 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2015-01-06 14:20:33 +0000 |
commit | 6a0bc4c29b2bd3bbbdf8e765da8dce8490e34ddd (patch) | |
tree | 743db537cd9092cecc98f3a8c59cbf4dcd32cfb4 /morphlib/cachedrepo_tests.py | |
parent | f3197d814a5e883f47631a4f0acfa51bd1285daf (diff) | |
download | morph-6a0bc4c29b2bd3bbbdf8e765da8dce8490e34ddd.tar.gz |
Make temporary build branches optional
Not everyone is a fan of the `morph build` magic that collects up your
changes and puts them in a temporary branch. Now you can disable it by
setting 'local-changes=ignore' in your morph.conf file.
This speeds up `morph build` and `morph deploy` by 5-10 seconds on my
machine.
I looked an option to make `morph build` warn if there are uncommitted
changes. I found that with a cold cache, it takes about 5 seconds on my
machine to verify that there are no uncommitted changes to a checkout of
definitions.git. That defeats the main purpose of this patch for me, so
I didn't include the option.
Diffstat (limited to 'morphlib/cachedrepo_tests.py')
0 files changed, 0 insertions, 0 deletions