diff options
author | Korrawit Pruegsanusak <detective.conan.1412@gmail.com> | 2012-06-01 00:24:22 +0700 |
---|---|---|
committer | Korrawit Pruegsanusak <detective.conan.1412@gmail.com> | 2012-06-01 00:24:22 +0700 |
commit | efecdeceb8f58563623a105f464cce72a09768a9 (patch) | |
tree | 50f13baf30eb2896be466539d8ef7916be02987f /bin/lo-commit-stat | |
parent | lo-commit-stat: we don't have 'bootstrap' repo anymore (diff) | |
download | core-efecdeceb8f58563623a105f464cce72a09768a9.tar.gz core-efecdeceb8f58563623a105f464cce72a09768a9.zip |
lo-commit-stat: better formatting for bug fix commits
* some used "resolved" instead of "resolves"
* some didn't have a colon after that
* some inserted a space after bug ID and a separator
* some used a "-" as a separator
Change-Id: Iee6a0f0346a257124e9488fc8f3bbdc59b32cbac
Diffstat (limited to 'bin/lo-commit-stat')
-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 1b495251c6e9..0697432e333f 100755 --- a/bin/lo-commit-stat +++ b/bin/lo-commit-stat @@ -42,9 +42,9 @@ 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/[Rr]esolves:\s*$bug_orig\s*//; + $line =~ s/[Rr]esolve[ds]:?\s*$bug_orig\s*//; $line =~ s/\s*-\s*$bug_orig\s*//; - $line =~ s/\(?$bug_orig\)?[:,]?\s*//; + $line =~ s/\(?$bug_orig\)?\s*[:,-]?\s*//; # bnc# is preferred over n# for novell bugs $bug =~ s/^n\#/bnc#/; |