Skip Menu |

This queue is for tickets about the Git-PurePerl CPAN distribution.

Report information
The Basics
Id: 44457
Status: resolved
Priority: 0/
Queue: Git-PurePerl

People
Owner: Nobody in particular
Requestors: martijn [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: [PATCH] Add and use Git::PurePerl::Actor
Date: Sat, 21 Mar 2009 11:53:59 +0100
To: bug-Git-Pureperl [...] rt.cpan.org
From: Martijn van Beers <MARTIJN [...] cpan.org>
When parsing a commit, split up the author and committer fields into name, email and commit time. This adds two new DateTime fields, authored_time and committed_time to ::Commit and changes the type of the author and committer fields to Git::PurePerl::Actor, which is an object with name and email fields. --- lib/Git/PurePerl/Actor.pm | 12 ++++++++++++ lib/Git/PurePerl/Object/Commit.pm | 26 ++++++++++++++++++++++---- t/protocol.t | 10 +++++----- t/simple.t | 24 +++++++++++------------- 4 files changed, 50 insertions(+), 22 deletions(-) create mode 100644 lib/Git/PurePerl/Actor.pm

Message body is not shown because sender requested not to inline it.

Thanks, applied. Fixed in Git-PurePerl-0.41, which just hit CPAN.