requires 'File::Which';
requires 'CGI';
requires 'DateTime';
-requires 'Git::PurePerl';
+requires 'Git::PurePerl'; # Note - need the git version in broquaint's fork
requires 'List::MoreUtils';
requires 'MooseX::Declare';
requires 'Path::Class' => '0.17';
sub cat_file {
my ($self, $object) = @_;
- my $type = $self->get_object_type($object, $project);
+ my $type = $self->get_object_type($object, $self->project);
die "object `$object' is not a file\n"
if (!defined $type || $type ne 'blob');
# only one, otherwise it was a merge commit.
my $parent = $args{parent}
? $args{parent}
- : @{$args{commit}->parents} <= 1
+ : $args{commit}->parents <= 1
? $args{commit}->parent_sha1
: '-c';
my @etc = (