summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@gmail.com>2014-08-14 18:34:24 +0100
committerPaul Sherwood <paul.sherwood@codethink.co.uk>2014-08-15 10:48:28 +0000
commitd14937cd3ef42516cf268c26cd1ecb237912101d (patch)
treecffc135fb465ebb23b35bf031212c56455a82dce
parentc85c37fcb7e216278b7c672a97887833370bc1a9 (diff)
downloadmorph-d14937cd3ef42516cf268c26cd1ecb237912101d.tar.gz
yarns: Use run_morph for pushing branches
We're using the wrong morph if we don't use run_morph
-rw-r--r--yarns/implementations.yarn3
1 files changed, 2 insertions, 1 deletions
diff --git a/yarns/implementations.yarn b/yarns/implementations.yarn
index d2e72ccf..477849eb 100644
--- a/yarns/implementations.yarn
+++ b/yarns/implementations.yarn
@@ -383,7 +383,8 @@ Attempt to branch a system branch from a root that had no systems.
Pushing all changes in a system branch checkout to the git server.
IMPLEMENTS WHEN the user pushes the system branch called (\S+) to the git server
- run_in "$DATADIR/workspace/$MATCH_1/" morph foreach -- sh -c 'git push -u origin HEAD 2>&1'
+ cd "$DATADIR/workspace/$MATCH_1/"
+ run_morph foreach -- sh -c 'git push -u origin HEAD 2>&1'
Report workspace path.