removing additional colons from the commit msg
Change-Id: Ie35ee8c392e3e8ebc4a42d20e76813c8d29d387b
Reviewed-on: https://gerrit.libreoffice.org/17028
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
diff --git a/bin/lo-commit-stat b/bin/lo-commit-stat
index 92dd5e5..e33ca79 100755
--- a/bin/lo-commit-stat
+++ b/bin/lo-commit-stat
@@ -55,7 +55,7 @@ sub search_bugs($$$$)
# print " found $bug\n";
# remove bug number from the comment; it will be added later a standardized way
$bug_orig =~ s/\#/\\#/;
$line =~ s/(,\s)*[Rr](elated|esolve[ds]):?\s*$bug_orig\s*//;
$line =~ s/(,\s)*[Rr](elated|esolve[ds]):?\s*$bug_orig\s?:?\s*//;
$line =~ s/\s*-\s*$bug_orig\s*//;
$line =~ s/\(?$bug_orig\)?\s*[:,-]?\s*//;