summaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2017-03-06 15:38:14 +0000
committerDaniel Silverstone <dsilvers@digital-scurf.org>2017-03-06 15:38:14 +0000
commit5a71f43b6a2da5a9bafcd7b2c9b6c5bd3177186a (patch)
treeb7ea5739e68d6eff457116f16f477a77f56ed6f4 /testing
parent9fc3f6635d57fa64e78b81aa1bdea12d2c0ba8d0 (diff)
downloadgitano-5a71f43b6a2da5a9bafcd7b2c9b6c5bd3177186a.tar.gz
adds support to amend the top commit in a repo
Diffstat (limited to 'testing')
-rw-r--r--testing/library.yarn2
1 files changed, 2 insertions, 0 deletions
diff --git a/testing/library.yarn b/testing/library.yarn
index c3803b4..6facf2a 100644
--- a/testing/library.yarn
+++ b/testing/library.yarn
@@ -198,6 +198,8 @@ Admin repo manipulation
$GTT rungit "$MATCH_1" "$MATCH_4" commit --allow-empty -m "Apply $MATCH_3 content change" \
>>"$DATADIR/stdout" 2>>"$DATADIR/stderr"
+ IMPLEMENTS WHEN ([a-z][a-z0-9]*) amends ([^ ]+) with (.+)
+ $GTT rungit "$MATCH_1" "$MATCH_2" commit --amend -m "$MATCH_3"
Specific commands
-----------------