[Bps-public-commit] App-Changeloggr branch, master, updated. cb63cf175bb8f0215d1bc13f02d3f5635d652b64
sartak at bestpractical.com
sartak at bestpractical.com
Tue May 19 10:37:22 EDT 2009
The branch, master has been updated
via cb63cf175bb8f0215d1bc13f02d3f5635d652b64 (commit)
from bd878a06e10e3ef7c4de1ce8f80e25bfa0addba0 (commit)
Summary of changes:
lib/App/Changeloggr/InputFormat/Git.pm | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
- Log -----------------------------------------------------------------
commit cb63cf175bb8f0215d1bc13f02d3f5635d652b64
Author: Shawn M Moore <sartak at gmail.com>
Date: Tue May 19 10:37:10 2009 -0400
Remove extra newlines at the end of messages
diff --git a/lib/App/Changeloggr/InputFormat/Git.pm b/lib/App/Changeloggr/InputFormat/Git.pm
index e8482c1..35a5f33 100644
--- a/lib/App/Changeloggr/InputFormat/Git.pm
+++ b/lib/App/Changeloggr/InputFormat/Git.pm
@@ -65,6 +65,9 @@ sub next_match {
$fields{message} =~ s/^git-svn-id: .*$//m;
+ # Remove extra newlines at the end of the message
+ $fields{message} =~ s/\s+\z//;
+
return \%fields;
}
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list