diff options
-rwxr-xr-x | bin/lo-commit-stat | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/bin/lo-commit-stat b/bin/lo-commit-stat index 4196f9b9f..9a8888677 100755 --- a/bin/lo-commit-stat +++ b/bin/lo-commit-stat @@ -25,25 +25,23 @@ sub search_bugs($$$$) # match #i123# } elsif ( $line =~ m/(\#i)(\d+)(\#)/ ) { $bug_orig = $1 . $2 . $3; - $bug = $2; + $bug = "i#$2"; } else { $bug = undef; next; } +# print " found $bug\n"; $bug_orig =~ s/\#/\\#/; $line =~ s/[Rr]esolves:\s*$bug_orig\s*//; $line =~ s/\s*-\s*$bug_orig\s*//; $line =~ s/\(?$bug_orig\)?[:,]?\s*//; %{$pdata->{$piece}{$commit_id}{'bugs'}} = () if (! defined %{$pdata->{$piece}{$commit_id}{'bugs'}}); $pdata->{$piece}{$commit_id}{'bugs'}{$bug} = 1; - $bug = undef; - return $line; } return $line; } - sub standardize_summary($) { my $line = shift; |