From a19675bb16808f4d17d910e0acf18c1fd5e1f58d Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Sun, 2 Feb 2014 16:57:59 +0100 Subject: filter-github-emails: Catch more status changes Also catch the case where an issue was closed in a commit message, e.g.: | Closed #123 via c5dc81cd28a9491115b4d13b959b0fc8e2df9a6c. diff --git a/libexec/filter-github-emails b/libexec/filter-github-emails index 95a4141..7a05a05 100755 --- a/libexec/filter-github-emails +++ b/libexec/filter-github-emails @@ -200,6 +200,7 @@ sub is_github_status_change { if ($body =~ tr/\n// == 5) { return 1 if $body =~ /^(?:Closed|Reopened) #\d+\.$/m; + return 1 if $body =~ /^Closed #\d+ via [0-9a-f]{40}\.$/m; } return 0; } -- cgit v0.10-9-g596f