[Bps-public-commit] App-Changeloggr branch, master, updated. c8648fbfc498940c445899c096c9344b79cf57d8
sartak at bestpractical.com
sartak at bestpractical.com
Mon Mar 30 14:29:48 EDT 2009
The branch, master has been updated
via c8648fbfc498940c445899c096c9344b79cf57d8 (commit)
from a258f15f10ad77c532e93daafed375561d7fd227 (commit)
Summary of changes:
lib/App/Changeloggr/Model/ChangeCollection.pm | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
- Log -----------------------------------------------------------------
commit c8648fbfc498940c445899c096c9344b79cf57d8
Author: Shawn M Moore <sartak at gmail.com>
Date: Mon Mar 30 14:29:33 2009 -0400
Strip leading space when we're at the change level
diff --git a/lib/App/Changeloggr/Model/ChangeCollection.pm b/lib/App/Changeloggr/Model/ChangeCollection.pm
index dfd47ec..ba837e2 100644
--- a/lib/App/Changeloggr/Model/ChangeCollection.pm
+++ b/lib/App/Changeloggr/Model/ChangeCollection.pm
@@ -35,6 +35,8 @@ sub extract_change_data_from_text {
my $self = shift;
my $text = shift;
+ $text =~ s/^\s+//;
+
my $format = App::Changeloggr->identify_format($text);
die "I'm unable to handle the change text format."
if !defined($format);
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list