We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab0b3dc commit 937f560Copy full SHA for 937f560
script/git-to-bugzilla.pl
@@ -61,11 +61,11 @@ sub find_bugzilla_references {
61
my $bugid;
62
foreach my $line ( @{ $info->{log} } ) {
63
$line = lc($line);
64
- if ( $line =~ /(closes|fixes|references):?\s*(?:bug(?:zilla)?)?\s*\#?(\d+)/ ) {
+ if ( $line =~ /(closes|fixes|references):?\s*(?:bug(?:zilla|s)?)?\s*\#?(\d+)/ ) {
65
$action = $1;
66
$bugid = $2;
67
}
68
- elsif ( $line =~ /\b(?:bug(?:zilla)?)\s*\#?(\d+)/ ) {
+ elsif ( $line =~ /\b(?:bug(?:zilla|s)?)\s*\#?(\d+)/ ) {
69
$action = 'references';
70
$bugid = $1;
71
0 commit comments