summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--yarns/branches-workspaces.yarn4
-rw-r--r--yarns/implementations.yarn2
2 files changed, 3 insertions, 3 deletions
diff --git a/yarns/branches-workspaces.yarn b/yarns/branches-workspaces.yarn
index 96fbbd12..0753296b 100644
--- a/yarns/branches-workspaces.yarn
+++ b/yarns/branches-workspaces.yarn
@@ -168,8 +168,8 @@ branches checked out.
Editing components
------------------
-`morph edit` can edit refs for a stratum only, or it can do that for
-a chunk, and check out the chunk's repository.
+`morph edit` can edit refs for a chunk, and check out the chunk's
+repository.
First of all, we verify that that when we create a system branch,
all the refs are unchanged.
diff --git a/yarns/implementations.yarn b/yarns/implementations.yarn
index 5b5b1724..f01432b7 100644
--- a/yarns/implementations.yarn
+++ b/yarns/implementations.yarn
@@ -444,7 +444,7 @@ Editing morphologies with `morph edit`.
ls -l "$DATADIR/workspace/$MATCH_2"
chunkdir="$(slashify_colons "$MATCH_1")"
cd "$DATADIR/workspace/$MATCH_2/$chunkdir"
- git branch | awk '$1 == "*" { print $2 }' > "$DATADIR/git-branch.actual"
+ git rev-parse --abbrev-ref HEAD > "$DATADIR/git-branch.actual"
echo "$MATCH_2" > "$DATADIR/git-branch.wanted"
diff -u "$DATADIR/git-branch.wanted" "$DATADIR/git-branch.actual"