Skip to content

Commit

Permalink
Display already cloned message during setup if cloning already comple…
Browse files Browse the repository at this point in the history
…te for a given component
  • Loading branch information
Geoffrey Broadwell committed Oct 24, 2012
1 parent 6451e9a commit 296b8fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bench
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ multi MAIN ('setup') {

my $repo = $component<repo_url>;
my $bare = "$name.git";
say "----> Already cloned." if $bare.IO.d && $name.IO.d;
run < git clone --bare >, $repo, $bare unless $bare.IO.d;
run < git clone -l >, $bare, $name unless $name.IO.d;
}
Expand Down

0 comments on commit 296b8fc

Please sign in to comment.