[Bps-public-commit] App-Changeloggr branch, master, updated. 1d128fb3a9d636dc36dec563d095592030a87262

Alex M Vandiver alexmv at bestpractical.com
Mon Mar 30 15:33:15 EDT 2009


The branch, master has been updated
       via  1d128fb3a9d636dc36dec563d095592030a87262 (commit)
      from  a977d114e1956e757ec20fff2f0098d4b3b0947c (commit)

Summary of changes:
 lib/App/Changeloggr/LogFormat/Git.pm |    2 +-
 lib/App/Changeloggr/Model/Change.pm  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

- Log -----------------------------------------------------------------
commit 1d128fb3a9d636dc36dec563d095592030a87262
Author: Alex Vandiver <alexmv at mit.edu>
Date:   Mon Mar 30 15:33:10 2009 -0400

    Rename diff to diffstat, as we might have a full diff later

diff --git a/lib/App/Changeloggr/LogFormat/Git.pm b/lib/App/Changeloggr/LogFormat/Git.pm
index 370b256..667f14f 100644
--- a/lib/App/Changeloggr/LogFormat/Git.pm
+++ b/lib/App/Changeloggr/LogFormat/Git.pm
@@ -59,7 +59,7 @@ sub next_match {
         $fields{message} = $1;
     }
     if ($entry =~ /\n(\s{1,2}\S+\s+\|\s+\d+.*)$/ims) {
-        $fields{diff} = $1;
+        $fields{diffstat} = $1;
     }
 
     return \%fields;
diff --git a/lib/App/Changeloggr/Model/Change.pm b/lib/App/Changeloggr/Model/Change.pm
index d906a2b..b52e7c0 100644
--- a/lib/App/Changeloggr/Model/Change.pm
+++ b/lib/App/Changeloggr/Model/Change.pm
@@ -29,7 +29,7 @@ use App::Changeloggr::Record schema {
         type is 'text',
         label is 'Body';
 
-    column diff =>
+    column diffstat =>
         type is 'text',
         label is 'Diff';
 };

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



More information about the Bps-public-commit mailing list