Skip to content

Commit fd56f80

Browse files
authored
Prevent erroneous identification of a commit SHA as 6.c
To prevent glitches like this: https://irclog.perlgeek.de/perl6/2016-12-20#i_13774319
1 parent d4bb76f commit fd56f80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Whateverable.pm6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ method get-commits($config) {
180180
@commits = $result.lines;
181181
my $num-commits = @commits.elems;
182182
return Too many commits ($num-commits) in range, you're only allowed {COMMITS-LIMIT} if $num-commits > COMMITS-LIMIT;
183-
} elsif $config ~~ /:i releases | v? 6 \.? c / {
183+
} elsif $config ~~ /:i releases | « v? 6 \.? c » / {
184184
@commits = self.get-tags('2015-12-25');
185185
} elsif $config ~~ /:i all / {
186186
@commits = self.get-tags('2014-01-01');

0 commit comments

Comments
 (0)