summaryrefslogtreecommitdiff
path: root/without-test-modules
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2015-01-06 18:13:28 +0000
committerAdam Coldrick <adam.coldrick@codethink.co.uk>2015-02-18 10:31:43 +0000
commit2ff375e68935f17a63eebedb55b15f8e3aec3b40 (patch)
tree66026f1a40f41426b90db2f0d4aa67cc89f0cded /without-test-modules
parent0c9a8f3bcd13428bdde3fd7bf7201818aec554f0 (diff)
downloadmorph-2ff375e68935f17a63eebedb55b15f8e3aec3b40.tar.gz
Read files from a local clone of definitions where possible
Most morphologies involved in a build are in the definitions repo these days. Currently we read each of them using `git cat-file`, which is slow. It's quicker to check out all the files in one go to a temporary directory and then read them from there. With the current workflow users often have definitions.git checked out on disk. It seems strange to not just read the files from there. There are two reasons why I don't want to do that yet: - there are commands which don't run inside a system branch, which would be broken if we expected to always be in a system branch - there may be local changes in the checked-out repo, and it takes around 5 seconds on each build to check if there aren't any local changes. It actually seems faster to just check out a known clean version from the cache.
Diffstat (limited to 'without-test-modules')
0 files changed, 0 insertions, 0 deletions