[Bps-public-commit] App-Changeloggr branch, master, updated. 93deb5e81ea125711d27801ded02e00553e6f9e6

sartak at bestpractical.com sartak at bestpractical.com
Mon Mar 30 14:25:44 EDT 2009


The branch, master has been updated
       via  93deb5e81ea125711d27801ded02e00553e6f9e6 (commit)
      from  a0a2bc74cc45d4094fc84bc3830eaf33cd4a3894 (commit)

Summary of changes:
 lib/App/Changeloggr/Model/ChangeCollection.pm |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

- Log -----------------------------------------------------------------
commit 93deb5e81ea125711d27801ded02e00553e6f9e6
Author: Shawn M Moore <sartak at gmail.com>
Date:   Mon Mar 30 14:25:27 2009 -0400

    $ doesn't quite do what we need apparently (even with /m)

diff --git a/lib/App/Changeloggr/Model/ChangeCollection.pm b/lib/App/Changeloggr/Model/ChangeCollection.pm
index 3356296..c785bfc 100644
--- a/lib/App/Changeloggr/Model/ChangeCollection.pm
+++ b/lib/App/Changeloggr/Model/ChangeCollection.pm
@@ -51,13 +51,13 @@ sub extract_change_data_from_git {
     $text =~ s{
         \A
         (
-            ^ commit \  \w+ $
+            ^ commit \  \w+ \r?\n
             .*?
         )
         (?=
             \Z
             |
-            ^ commit \  \w+ $
+            ^ commit \  \w+ \r?\n
         )
     }{}xms;
 

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list