summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@google.com>2018-11-21 22:07:38 +0100
committerPatrick Georgi <pgeorgi@google.com>2018-12-05 15:21:21 +0000
commit571477b514f591d6db3a71142a135b25d07f2c3e (patch)
tree5fb7d3ee364339e7e9a00728f45e5a0cd26212a3
parent8bed5efad7d9444fdf02665eac3ad84efb35d42e (diff)
downloadcoreboot-571477b514f591d6db3a71142a135b25d07f2c3e.tar.xz
util/scripts/maintainers.go: file: queries are more stable with quotes
The gerrit docs aren't very explicit about it, but file:"^foo$" is more robust than file:^foo$. Change-Id: I16c7d972d365cd04ca5fbb78012ad4eaad667be6 Signed-off-by: Patrick Georgi <pgeorgi@google.com> Reviewed-on: https://review.coreboot.org/c/29781 Reviewed-by: Martin Roth <martinroth@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--util/scripts/maintainers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/scripts/maintainers.go b/util/scripts/maintainers.go
index 76306c843e..31a720c26a 100644
--- a/util/scripts/maintainers.go
+++ b/util/scripts/maintainers.go
@@ -278,7 +278,7 @@ func do_print_gerrit_rules() {
}
fmt.Println("#", subsystem.name)
for _, path := range subsystem.paths {
- fmt.Println("[filter \"file:" + path_to_regexstr(path) + "\"]")
+ fmt.Println("[filter \"file:\\\"" + path_to_regexstr(path) + "\\\"\"]")
for _, maint := range subsystem.maintainer {
fmt.Println(" reviewer =", extract_maintainer(maint))
}