git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] git-send-email: Cc more people
@ 2018-04-18 14:05 Matthew Wilcox
  2018-04-18 14:33 ` Steven Rostedt
  2018-04-18 19:58 ` Ævar Arnfjörð Bjarmason
  0 siblings, 2 replies; 9+ messages in thread
From: Matthew Wilcox @ 2018-04-18 14:05 UTC (permalink / raw)
  To: git; +Cc: Mathieu Desnoyers, Steven Rostedt, Minchan Kim

From: Matthew Wilcox <mawilcox@microsoft.com>

Several of my colleagues (and myself) have expressed surprise and
annoyance that git-send-email doesn't automatically pick up people who
are listed in patches as Reported-by: or Reviewed-by: or ... many other
tags that would seem (to us) to indicate that person might be interested.
This patch to git-send-email tries to pick up all Foo-by: tags.

Signed-off-by: Matthew Wilcox <mawilcox@microsoft.com>

diff --git a/git-send-email.perl b/git-send-email.perl
index 2fa7818ca..926815329 100755
--- a/git-send-email.perl
+++ b/git-send-email.perl
@@ -1665,7 +1665,7 @@ foreach my $t (@files) {
 	# Now parse the message body
 	while(<$fh>) {
 		$message .=  $_;
-		if (/^(Signed-off-by|Cc): (.*)/i) {
+		if (/^([A-Z-a-z]*-by|Cc): (.*)/i) {
 			chomp;
 			my ($what, $c) = ($1, $2);
 			# strip garbage for the address we'll use:


^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2018-04-20 15:27 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-18 14:05 [PATCH] git-send-email: Cc more people Matthew Wilcox
2018-04-18 14:33 ` Steven Rostedt
2018-04-18 17:25   ` Mathieu Desnoyers
2018-04-18 19:58 ` Ævar Arnfjörð Bjarmason
2018-04-18 21:21   ` Junio C Hamano
2018-04-19 12:10     ` Matthew Wilcox
2018-04-19 12:35       ` Mathieu Desnoyers
2018-04-20  0:03         ` Junio C Hamano
2018-04-20 15:27           ` Mathieu Desnoyers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).