fixing inline pod documentation for the debian package. (missing whatis entry)
[catagits/Gitalist.git] / lib / Gitalist / Git / Object / HasTree.pm
index 5974af7..43d4d7b 100644 (file)
@@ -21,10 +21,48 @@ role Gitalist::Git::Object::HasTree {
                                     type => $type,
                                     sha1 => $object,
                                     file => $file,
-                                    project => $self->project,
+                                    repository => $self->repository,
                                   );
         }
         return \@ret;
     }
 
 }
+
+1;
+
+
+1;
+
+__END__
+
+=head1 NAME
+
+Gitalist::Git::Object::HasTree - Git::Object::HasTree module for Gitalist
+
+=head1 SYNOPSIS
+
+    my $tree = Repository->get_object($tree_sha1);
+
+=head1 DESCRIPTION
+
+Role for objects which have a tree - C<Commit> and C<Tree> objects.
+
+
+=head1 ATTRIBUTES
+
+=head2 tree
+
+
+=head1 METHODS
+
+
+=head1 AUTHORS
+
+See L<Gitalist> for authors.
+
+=head1 LICENSE
+
+See L<Gitalist> for the license.
+
+=cut