From b730d26a8d92be5f6d8aaa614e26c7763624be34 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Tue, 10 Dec 2019 12:29:45 +0100 Subject: pkg/vcs: don't CC people on CC (sic) Update #1441 --- pkg/vcs/git_test.go | 1 - pkg/vcs/vcs.go | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'pkg') 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", "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]: (.*)$`), } ) -- cgit mrf-deployment