Kill the nasty shit off, this will be passed in
bobtfish [Mon, 2 Nov 2009 22:08:50 +0000 (22:08 +0000)]
lib/Gitalist/Git/Repo.pm

index a0e44a8..6470cbf 100644 (file)
@@ -6,11 +6,7 @@ class Gitalist::Git::Repo {
     use Gitalist::Git::Project;
     has repo_dir => ( isa => NonEmptySimpleStr,
                       is => 'ro',
-                      lazy_build => 1 );
-
-    method _build_repo_dir {
-        return Gitalist->config->{repo_dir};
-    }
+                      required => 1 );
 
 =head2 _is_git_repo