summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@gmail.com>2017-01-02 19:17:28 +0000
committerRichard Maw <richard.maw@gmail.com>2017-01-02 19:27:40 +0000
commitb0677f902eb1aecc88c7a753eaab21f2927daa53 (patch)
treeb5988cfd2565bdb13dc291d6d8fa13dd3af9a0bd /doc
parent8afc4a51b5b355b4b0029376f27c8db5fe7840eb (diff)
downloadgitano-b0677f902eb1aecc88c7a753eaab21f2927daa53.tar.gz
admin-doc: Describe uncommon match types
Diffstat (limited to 'doc')
-rw-r--r--doc/admin/000.mdwn44
1 files changed, 23 insertions, 21 deletions
diff --git a/doc/admin/000.mdwn b/doc/admin/000.mdwn
index 592cd9b..d445861 100644
--- a/doc/admin/000.mdwn
+++ b/doc/admin/000.mdwn
@@ -249,27 +249,29 @@ Gitano defines a number of predicates to be used in conditions. See table.
Table: Gitano predicates
----------------------- -----------
-`operation` name of operation (gitano command)
-`owner` username of repository owner
-`group` groups of invoker of gitano or target of `as`
-`ref` the ref (branch, tag) being operated on
-`user` username of user invoking gitano, or target of `as`
-`repository` path of repository being operated on
-`start_tree` to do with trees and tree changes during
-`target_tree` ... update hook tests, to be documented
-`treediff/targets` ... later (FIXME)
-`treediff/added` ...
-`treediff/deleted` ...
-`treediff/modified` ...
-`treediff/renamed` ...
-`treediff/renamedto` ...
-`as_user` username of user invoking `as otheruser`
-`as_group` groups of user invoking `as otheruser`
-`targetuser` username in a user manipulation command
-`targetgroup` the group in a group manipulation command
-`member` the user in an group manipulation command
----------------------- -----------
+---------------------- -----------
+`operation` name of operation (gitano command)
+`owner` username of repository owner
+`group` groups of invoker of gitano or target of `as`
+`ref` the ref (branch, tag) being operated on
+`user` username of user invoking gitano, or target of `as`
+`repository` path of repository being operated on
+`start_tree` any of the file names that are in the tree before the commit
+`target_tree` any of the file names that are in the tree after the commit
+`treediff/targets` any of the file names of changed files
+`treediff/added` any of the file names of added files
+`treediff/deleted` any of the file names of deleted files
+`treediff/modified` any of the file names of modified files
+`treediff/renamed` any of the file names of renamed files
+`treediff/renamedto` any of the file names of destinations of a rename
+`treediff/kind/$FILE` The type of object of a file named $FILE in the new version of the tree.
+`treediff/oldkind/$FILE` The type of object of a file named $FILE in the old version of the tree.
+`as_user` username of user invoking `as otheruser`
+`as_group` groups of user invoking `as otheruser`
+`targetuser` username in a user manipulation command
+`targetgroup` the group in a group manipulation command
+`member` the user in an group manipulation command
+---------------------- -----------
Predicates can be combined using the operators `anyof` and `allof`: