bin/lo-commit-stat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 418df9282d772d21eebb56f858fd84036d9b691a Author: Thorsten Behrens <tbehr...@suse.com> Date: Sat Jun 23 16:08:10 2012 +0200 Slightly more robust removal of bug title prefix. Change-Id: Ic37589222831d03ec48689a077b1eb16a9199385 diff --git a/bin/lo-commit-stat b/bin/lo-commit-stat index d2b6d85..4fb8a10 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";
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits