summaryrefslogtreecommitdiffstats
path: root/libexec/filter-github-emails
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2014-02-02 15:57:59 (GMT)
committerHolger Weiss <holger@zedat.fu-berlin.de>2014-02-02 15:57:59 (GMT)
commita19675bb16808f4d17d910e0acf18c1fd5e1f58d (patch)
tree9daeb4f6b6057b8624e80fb83b4ed808423c105f /libexec/filter-github-emails
parent190798c154b2db88f0e6bf41f27da283f0fab327 (diff)
downloadsite-a19675bb16808f4d17d910e0acf18c1fd5e1f58d.tar.gz
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.
Diffstat (limited to 'libexec/filter-github-emails')
-rwxr-xr-xlibexec/filter-github-emails1
1 files changed, 1 insertions, 0 deletions
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 {
200 200
201 if ($body =~ tr/\n// == 5) { 201 if ($body =~ tr/\n// == 5) {
202 return 1 if $body =~ /^(?:Closed|Reopened) #\d+\.$/m; 202 return 1 if $body =~ /^(?:Closed|Reopened) #\d+\.$/m;
203 return 1 if $body =~ /^Closed #\d+ via [0-9a-f]{40}\.$/m;
203 } 204 }
204 return 0; 205 return 0;
205} 206}