summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Miller <marco.miller@ericsson.com>2020-10-30 10:44:18 -0400
committerMarco Miller <marco.miller@ericsson.com>2020-10-30 10:44:18 -0400
commitf6bde27e9bbe61e4ccb08679008558521048a9ba (patch)
tree2bb4eed832cabc8f6c7e8b712f56d5f666e67c84
parent1f5ed1e2d0b1c1629bdfa888384aadf561bf2d6f (diff)
parentc2285a818df11edf53154547c439173dace35638 (diff)
Merge branch 'stable-2.16' into stable-3.0
* stable-2.16: Documentation: Escape <= characters in user-search.txt Documentation: Provide examples for advanced regexp searching Change-Id: Ie18c40745ebfaca7a6ca0dd672b6aca86bbf36be
-rw-r--r--Documentation/user-search.txt11
1 files changed, 8 insertions, 3 deletions
diff --git a/Documentation/user-search.txt b/Documentation/user-search.txt
index cafd5ca7d5..6c4b78bfa8 100644
--- a/Documentation/user-search.txt
+++ b/Documentation/user-search.txt
@@ -279,6 +279,11 @@ files named like 'name1.xml', 'name2.xml', and 'name3.xml' use
`file:"^name[1-3].xml"`.
+
Slash ('/') is used path separator.
++
+More examples:
+* `-file:^path/.*` - changes that do not modify files from `path/`,
+* `file:{^~(path/.*)}` - changes that modify files not from `path/` (but may
+contain files from `path/`).
[[file]]
file:'NAME', f:'NAME'::
@@ -490,7 +495,7 @@ for the given number of lines.
For example, added:>50 will be true for any change which adds at least 50
lines.
+
-Valid relations are >=, >, <=, <, or no relation, which will match if the
+Valid relations are >=, >, \<=, <, or no relation, which will match if the
number of lines is exactly equal.
[[commentby]]
@@ -542,7 +547,7 @@ True if the number of unresolved comments satisfies the given relation for the g
For example, unresolved:>0 will be true for any change which has at least one unresolved
comment while unresolved:0 will be true for any change which has all comments resolved.
+
-Valid relations are >=, >, <=, <, or no relation, which will match if the number of unresolved
+Valid relations are >=, >, \<=, <, or no relation, which will match if the number of unresolved
comments is exactly equal.
== Argument Quoting
@@ -659,7 +664,7 @@ all changes that have a +2 vote from the change owner.
Matches changes with a +1 code review where the reviewer is in the
ldap/linux.workflow group.
-`label:Code-Review<=-1`::
+`label:Code-Review\<=-1`::
+
Matches changes with either a -1, -2, or any lower score.