diff options
-rwxr-xr-x | bin/lo-commit-stat | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/lo-commit-stat b/bin/lo-commit-stat index d2b6d8557049..4fb8a104f457 100755 --- a/bin/lo-commit-stat +++ b/bin/lo-commit-stat @@ -312,11 +312,11 @@ sub get_bug_name($$) my $response = $ua->get($url); if ($response->is_success) { my $title = $response->title; - if ( $title =~ s/^Bug \d+ – // ) { + if ( $title =~ s/^Bug \d+ \S+ // ) { print "$title\n"; return $title; } else { - print "warning: not found; using commit message\n"; + print "warning: not found; using commit message (only got $title)\n"; } } else { print "\n"; |