Kaydet (Commit) 6858c3eb authored tarafından Korrawit Pruegsanusak's avatar Korrawit Pruegsanusak

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
üst f2719a90
......@@ -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#
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment