From 90a4182ba1c6b53911c73180e0f4405e4a730254 Mon Sep 17 00:00:00 2001 From: Petr Baudis Date: Thu, 14 Aug 2008 11:47:38 +0200 Subject: [PATCH] Girocco::Project::ghost(): Simplify the _new() call --- Girocco/Project.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Girocco/Project.pm b/Girocco/Project.pm index 4998437..e1f1bd9 100644 --- a/Girocco/Project.pm +++ b/Girocco/Project.pm @@ -204,8 +204,8 @@ sub _new { sub ghost { my $class = shift; my ($name, $mirror) = @_; - my $self = $class->_new($name, $mirror ? "$Girocco::Config::mqueuedir/to-clone" : $Girocco::Config::reporoot, - $mirror ? "$Girocco::Config::mqueuedir/to-clone/$name.git" : $Girocco::Config::reporoot."/$name.git"); + my $self = $class->_new($name, + $mirror ? "$Girocco::Config::mqueuedir/to-clone" : $Girocco::Config::reporoot); $self->{users} = []; $self->{mirror} = $mirror; $self; -- 2.11.4.GIT