Skip to content

Commit 7d811cc

Browse files
committed
Ignore non-master, non-fixes commits for now
1 parent 4c54058 commit 7d811cc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

git_hooks/email_hook.pl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@
3535
my $branch = $payload->{"ref"};
3636
$branch =~ s/^refs\/.*?\///;
3737
38+
if ($branch !~ /^(?:master|fixes\/)/)
39+
exit 0;
40+
3841
# These maybe should go into a config file later
3942
my %headers = (
4043
"From" => 'MythTV <noreply@mythtv.org>',

0 commit comments

Comments
 (0)