summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xlibexec/git-notify4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/git-notify b/libexec/git-notify
index 8514296..316336e 100755
--- a/libexec/git-notify
+++ b/libexec/git-notify
@@ -3,7 +3,7 @@
3# Tool to send git commit notifications 3# Tool to send git commit notifications
4# 4#
5# Copyright 2005 Alexandre Julliard 5# Copyright 2005 Alexandre Julliard
6# Copyright 2009 Nagios Plugins Development Team 6# Copyright 2009, 2013 Nagios Plugins Development Team
7# 7#
8# This program is free software; you can redistribute it and/or 8# This program is free software; you can redistribute it and/or
9# modify it under the terms of the GNU General Public License as 9# modify it under the terms of the GNU General Public License as
@@ -589,7 +589,7 @@ sub send_all_notices($$$)
589 my ($old_sha1, $new_sha1, $ref) = @_; 589 my ($old_sha1, $new_sha1, $ref) = @_;
590 my ($reftype, $refname, $tagtype, $action, @notice); 590 my ($reftype, $refname, $tagtype, $action, @notice);
591 591
592 return if ($ref =~ /^refs\/remotes\// 592 return if ($ref =~ /^refs\/(?:remotes|pull)\//
593 or (@include_list && !grep {$_ eq $ref} @include_list)); 593 or (@include_list && !grep {$_ eq $ref} @include_list));
594 die "The name \"$ref\" doesn't sound like a local branch or tag" 594 die "The name \"$ref\" doesn't sound like a local branch or tag"
595 if not (($reftype, $refname) = ($ref =~ /^refs\/(head|tag)s\/(.+)/)); 595 if not (($reftype, $refname) = ($ref =~ /^refs\/(head|tag)s\/(.+)/));