[Bps-public-commit] Test-Chimps-Client branch, master, updated. 4b048ac046326b8f4cefc5e220268ebd12862301

Alex Vandiver alexmv at bestpractical.com
Tue Jul 27 12:13:46 EDT 2010


The branch, master has been updated
       via  4b048ac046326b8f4cefc5e220268ebd12862301 (commit)
      from  20dbb1e586c5a185c888c01197a61659c0552b06 (commit)

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

- Log -----------------------------------------------------------------
commit 4b048ac046326b8f4cefc5e220268ebd12862301
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Tue Jul 27 12:15:38 2010 -0400

    For back-compat with git 1.6, use --pretty=fuller instead of --format=fuller

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

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



More information about the Bps-public-commit mailing list