summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/lo-commit-stat3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/lo-commit-stat b/bin/lo-commit-stat
index 157292448108..f1677b2e5d23 100755
--- a/bin/lo-commit-stat
+++ b/bin/lo-commit-stat
@@ -26,7 +26,8 @@ sub search_bugs($$$$)
while (defined $bug) {
# match fdo#123, rhz#123, i#123
- if ( $line =~ m/(\w*\#+\d+)/ ) {
+ # but match only bug number with >= 4 digits
+ if ( $line =~ m/(\w*\#+\d{4,})/ ) {
$bug_orig = $1;
$bug = $1;
# match #i123#