Also fix repo
Tomas Doran [Sat, 7 Nov 2009 19:52:53 +0000 (19:52 +0000)]
lib/Gitalist/Git/Repo.pm

index 873565a..4146575 100644 (file)
@@ -13,10 +13,9 @@ class Gitalist::Git::Repo {
     );
 
     method project (NonEmptySimpleStr $project) {
-        my $pd = $self->dir_from_project_name($project);
         return Gitalist::Git::Project->new(
             name => $project,
-            path => $pd,
+            path => $self->repo_dir->subdir($project),
         );
     }