diff options
author | Korrawit Pruegsanusak <detective.conan.1412@gmail.com> | 2012-06-01 00:24:16 +0700 |
---|---|---|
committer | Korrawit Pruegsanusak <detective.conan.1412@gmail.com> | 2012-06-01 00:24:16 +0700 |
commit | 6858c3eb53717cc312133646e6c621e7ca4956cf (patch) | |
tree | c9b91afdb6f4034f04ab6702edb01f89ed842bb8 /bin | |
parent | f2719a90ea29bc21f4b95b5e046c5b1d93965a2a (diff) |
lo-commit-stat: bug ID should have >= 4 digits
This is to avoid capturing stack frame numbers as bug ID.
http://lists.freedesktop.org/archives/libreoffice/2012-February/027133.html
Change-Id: I14169d3a7db73a5d10df01ad1fd9fb95e4c0bd2f
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/lo-commit-stat | 3 |
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# |