summaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2018-03-18 15:50:54 +0000
committerDaniel Silverstone <dsilvers@digital-scurf.org>2018-06-06 14:25:06 +0100
commit3220eae2a47588134767b9c374e2e9d024139e04 (patch)
tree130a70e1aeaf5f9327e880f90652717a37343b09 /testing
parent3218d2f6c1c91ff4c188ad56e64922fa3b046be2 (diff)
downloadgitano-3220eae2a47588134767b9c374e2e9d024139e04.tar.gz
TESTING: Use prefix instead of is
In order to increase coverage of the 'prefix' match type in list context, this change alters one of the many treedelta related admin patches.
Diffstat (limited to 'testing')
-rw-r--r--testing/admin-patches/must-affect-FOO.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/admin-patches/must-affect-FOO.patch b/testing/admin-patches/must-affect-FOO.patch
index 07c570e..81cce3c 100644
--- a/testing/admin-patches/must-affect-FOO.patch
+++ b/testing/admin-patches/must-affect-FOO.patch
@@ -6,7 +6,7 @@ index aafa17c..388766a 100644
# Okay, if we're altering the admin ref, in we go
include global:adminchecks is_admin_ref
-+deny "Needs a FOO" op_is_normal ![treediff/targets is FOO]
++deny "Needs a FOO" op_is_normal ![treediff/targets prefix FOO]
+
# Now we're into branch operations. Owners can do any normal operation
# Normal ops are create/delete/fastforward on refs