summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
d422e61)
We are going to want to do some other things beforehand, but after the
dryrun safety catch.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
sub clone ($) {
my ($dstdir) = @_;
sub clone ($) {
my ($dstdir) = @_;
badusage "dry run makes no sense with clone" unless act_local();
badusage "dry run makes no sense with clone" unless act_local();
my $hasgit = check_for_git();
mkdir $dstdir or fail "create \`$dstdir': $!";
changedir $dstdir;
my $hasgit = check_for_git();
mkdir $dstdir or fail "create \`$dstdir': $!";
changedir $dstdir;