diff options
author | Richard Maw <richard.maw@gmail.com> | 2014-08-10 20:29:42 +0100 |
---|---|---|
committer | Richard Maw <richard.maw@codethink.co.uk> | 2014-08-12 18:07:41 +0100 |
commit | 2e5d8664920453ede30b450c7b39ac3a0bc141bb (patch) | |
tree | e0954f648bba232b654d86bfc96e8d644c88c237 /yarns/implementations.yarn | |
parent | 4d794d475e01363928916f7667a63eed6071f5e2 (diff) | |
download | morph-2e5d8664920453ede30b450c7b39ac3a0bc141bb.tar.gz |
Make morph show-branch-root print the path
The help for the show-branch-root command said it returns a path, but
the command and the yarns just showed the aliased url it was cloned
from.
Given I found myself needing the path in some scripts, not the repo url,
I think it's more useful to reconcile the difference this way.
Diffstat (limited to 'yarns/implementations.yarn')
-rw-r--r-- | yarns/implementations.yarn | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yarns/implementations.yarn b/yarns/implementations.yarn index 66dd9d57..d2e72ccf 100644 --- a/yarns/implementations.yarn +++ b/yarns/implementations.yarn @@ -419,7 +419,7 @@ Report system branch root repository. else attempt_morph show-branch-root > "$@"; fi IMPLEMENTS THEN the system branch root repository is reported as (.*) - echo "$MATCH_1" > "$DATADIR/branch-root.actual" + echo "$DATADIR/$MATCH_1" > "$DATADIR/branch-root.actual" diff -u "$DATADIR/branch-root.actual" "$DATADIR/branch-root.reported" Editing morphologies with `morph edit`. |