Support searching changes by file extension

Change-Id: I76319392dfa91e18ad4be6d9673951d03aa68a00
This commit is contained in:
Dave Borowitz
2019-01-11 11:42:56 -08:00
parent 6205cad8aa
commit e93969399a
7 changed files with 105 additions and 1 deletions

View File

@@ -289,6 +289,14 @@ named exactly `Foo.java` and does not match `AbstractFoo.java`.
Regular expression matching can be enabled by starting the string
with `^`. In this mode `file:` is an alias of `path:` (see above).
[[extension]]
extension:'EXT', ext:'EXT'::
+
Matches any change touching a file with extension 'EXT', case-insensitive. The
extension is defined as the portion of the filename following the final `.`.
Files with no `.` in their name have no extension and cannot be matched with
this operator; use `file:` instead.
[[star]]
star:'LABEL'::
+