[Bps-public-commit] Test-Chimps-Client branch, master, updated. 8ab6039c0c209f7df11456d67bb19fdc396e9034

Alex Vandiver alexmv at bestpractical.com
Tue Jun 22 12:42:21 EDT 2010


The branch, master has been updated
       via  8ab6039c0c209f7df11456d67bb19fdc396e9034 (commit)
      from  63f5acb1da21d3cd7d70f7094d869cb6196c0e11 (commit)

Summary of changes:
 lib/Test/Chimps/Smoker/Git.pm |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

- Log -----------------------------------------------------------------
commit 8ab6039c0c209f7df11456d67bb19fdc396e9034
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Tue Jun 22 12:43:26 2010 -0400

    Pull commit date, not author date

diff --git a/lib/Test/Chimps/Smoker/Git.pm b/lib/Test/Chimps/Smoker/Git.pm
index c24908f..8e1a0f4 100644
--- a/lib/Test/Chimps/Smoker/Git.pm
+++ b/lib/Test/Chimps/Smoker/Git.pm
@@ -26,8 +26,8 @@ sub committed_date {
     my $self = shift;
     my $revision = shift;
 
-    my $cmd = 'git log -n1'. ($revision? " $revision" : '');
-    my ($date) = (`$cmd` =~ m/^date:\s*(.*?)\s*$/im);
+    my $cmd = 'git log -n1 --format=fuller'. ($revision? " $revision" : '');
+    my ($date) = (`$cmd` =~ m/^commitdate:\s*(.*?)\s*$/im);
 
     return $date;
 }

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



More information about the Bps-public-commit mailing list