summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2017-07-31 21:10:10 -0400
committerRichard Maw <richard.maw@gmail.com>2017-08-01 12:52:28 +0100
commit4e16c524ab6712ed9c7c792c18380e8eeb2b67e6 (patch)
tree03b93983b813f28907637a7bb17dfa2c8c28e755
parent366d9e9252b8c2e56368794e5cf65190aa550459 (diff)
downloadgitano-4e16c524ab6712ed9c7c792c18380e8eeb2b67e6.tar.gz
Use $GTT rungit to handle git pull
Because additional git config is now required to use ext:: urls running git directly is not sufficient as the HOME variable needs to be set to locate the modified config. It's simplest to modify the yarns to use $GTT rungit to do this.
-rw-r--r--testing/library.yarn3
1 files changed, 1 insertions, 2 deletions
diff --git a/testing/library.yarn b/testing/library.yarn
index 88f6142..f54a2e3 100644
--- a/testing/library.yarn
+++ b/testing/library.yarn
@@ -113,8 +113,7 @@ Clone manipulation
$GTT cloneexists "$MATCH_1" "$MATCH_2"
IMPLEMENTS WHEN git pull happens in ([a-z][a-z0-9]*) ([^ ]+)
- cd "$($GTT clonelocation "$MATCH_1" "$MATCH_2")"
- git pull
+ $GTT rungit "$MATCH_1" "$MATCH_2" pull
IMPLEMENTS THEN ([a-z][a-z0-9]*) ([^ ]+) has a file called (.+)
cd "$($GTT clonelocation "$MATCH_1" "$MATCH_2")"