aboutsummaryrefslogtreecommitdiffstats
path: root/pkg
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2019-12-10 12:29:45 +0100
committerDmitry Vyukov <dvyukov@google.com>2019-12-10 12:35:10 +0100
commitb730d26a8d92be5f6d8aaa614e26c7763624be34 (patch)
tree8d39ee4c2baa6ddfc1dee8fd300aa398a5511153 /pkg
parentf9f80dd43751ab5172bf048d3213ba2ba73b77e4 (diff)
pkg/vcs: don't CC people on CC (sic)
Update #1441
Diffstat (limited to 'pkg')
-rw-r--r--pkg/vcs/git_test.go1
-rw-r--r--pkg/vcs/vcs.go4
2 files changed, 2 insertions, 3 deletions
diff --git a/pkg/vcs/git_test.go b/pkg/vcs/git_test.go
index b2ad32b6b..eb4ca5328 100644
--- a/pkg/vcs/git_test.go
+++ b/pkg/vcs/git_test.go
@@ -44,7 +44,6 @@ Signed-off-by: Linux Master <linux@linux-foundation.org>
"linux@linux-foundation.org",
"mustbe@correct.com",
"name@name.com",
- "somewhere@email.com",
"subsystem@reviewer.com",
"yetanother@email.org",
},
diff --git a/pkg/vcs/vcs.go b/pkg/vcs/vcs.go
index ea4e1d0ad..23c906087 100644
--- a/pkg/vcs/vcs.go
+++ b/pkg/vcs/vcs.go
@@ -181,7 +181,8 @@ var (
gitBranchRe = regexp.MustCompile("^[a-zA-Z0-9-_/.]{2,200}$")
gitHashRe = regexp.MustCompile("^[a-f0-9]{8,40}$")
releaseTagRe = regexp.MustCompile(`^v([0-9]+).([0-9]+)(?:\.([0-9]+))?$`)
- ccRes = []*regexp.Regexp{
+ // CC: is intentionally not on this list, see #1441.
+ ccRes = []*regexp.Regexp{
regexp.MustCompile(`^Reviewed\-.*: (.*)$`),
regexp.MustCompile(`^[A-Za-z-]+\-and\-[Rr]eviewed\-.*: (.*)$`),
regexp.MustCompile(`^Acked\-.*: (.*)$`),
@@ -189,7 +190,6 @@ var (
regexp.MustCompile(`^Tested\-.*: (.*)$`),
regexp.MustCompile(`^[A-Za-z-]+\-and\-[Tt]ested\-.*: (.*)$`),
regexp.MustCompile(`^Signed-off-by: (.*)$`),
- regexp.MustCompile(`^C[Cc]: (.*)$`),
}
)