diff options
author | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2013-08-15 16:18:58 +0000 |
---|---|---|
committer | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2013-08-15 17:02:12 +0000 |
commit | e5af453320253be65cafc6db71da3df2a00f7eb8 (patch) | |
tree | eff8ab0f1bcb0800c49932ac70719617997204ec /without-test-modules | |
parent | 5ff98b9d6e7073c47d051a8cadb0979cc959493f (diff) | |
download | morph-e5af453320253be65cafc6db71da3df2a00f7eb8.tar.gz |
Fix "morph edit" to load morphologies from git when needed
This is a bug fix. The code would previously blithely load the
morphology from the currently checked out ref (plus any local,
uncommitted changes). This is obviously wrong. However, we can't
check out the right ref, either, so the right thing to do is to
"git cat-file" it. But only when the right ref is not checked out.
This is fairly complex behaviour which may not be obvious to users
either. But we'll worry about that later, this is what needs to
happen now, and I don't want to make big behavioural changes in
the middle of a refactoring.
Bug found based on suggestion by Richard Maw.
Diffstat (limited to 'without-test-modules')
0 files changed, 0 insertions, 0 deletions