Merge zacs branch
Tomas Doran [Mon, 2 Nov 2009 22:38:57 +0000 (22:38 +0000)]
1  2 
lib/Gitalist/Model/Git.pm

@@@ -370,9 -379,9 +380,9 @@@ Return the contents of a given file
  =cut
  
  sub cat_file {
 -  my ($self, $object, $project) = @_;
 +  my ($self, $object) = @_;
  
-   my $type = $self->get_object_type($object);
+   my $type = $self->get_object_type($object, $project);
    die "object `$object' is not a file\n"
      if (!defined $type || $type ne 'blob');