From e04161fd256f5879fc19c4e6fdba6c3d620b525f Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Sun, 23 Apr 2023 10:52:07 -0400 Subject: teams: Add a 'cc-mentors-header-cmd' action. * etc/teams.scm.in (main): Register a new "cc-mentors-header-cmd" action. Document it. --- etc/teams.scm.in | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'etc/teams.scm.in') diff --git a/etc/teams.scm.in b/etc/teams.scm.in index 408db8b7d5..dec175f630 100644 --- a/etc/teams.scm.in +++ b/etc/teams.scm.in @@ -719,6 +719,9 @@ and REV-END, two git revision strings." (list-members (find-team team-name) (current-output-port) "X-Debbugs-Cc: ")) (patch->teams patch-file))) + (("cc-mentors-header-cmd" patch-file) + (list-members (find-team "mentors") (current-output-port) + "X-Debbugs-Cc: ")) (("get-maintainer" patch-file) (apply main "list-members" (patch->teams patch-file))) (("list-teams" . args) @@ -735,10 +738,12 @@ and REV-END, two git revision strings." Commands: cc get git send-email flags for cc-ing - cc-members | patch + cc-members | cc teams related to files changed between revisions or in a patch file cc-members-header-cmd cc-members variant for use with 'git send-email --header-cmd' + cc-mentors-header-cmd + command to use with 'git send-email --header-cmd' to notify mentors list-teams list teams and their members list-members -- cgit v1.2.3