summaryrefslogtreecommitdiff
path: root/dgit
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2016-11-07 02:50:12 +0000
committerIan Jackson <ijackson@chiark.greenend.org.uk>2016-11-07 02:50:12 +0000
commit201e064fa7eb89ec1aacf265c4c07fef037c87d7 (patch)
treebbf2176feea15f567b3c96e3669918dfd76a166e /dgit
parentd422e614352724c8cd511c8d1ae8a6d9a1ba5265 (diff)
clone: Postpone canonicalise_suite
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>
Diffstat (limited to 'dgit')
-rwxr-xr-xdgit2
1 files changed, 1 insertions, 1 deletions
diff --git a/dgit b/dgit
index f1a30c3..5056e11 100755
--- a/dgit
+++ b/dgit
@@ -3090,8 +3090,8 @@ END
sub clone ($) {
my ($dstdir) = @_;
- canonicalise_suite();
badusage "dry run makes no sense with clone" unless act_local();
+ canonicalise_suite();
my $hasgit = check_for_git();
mkdir $dstdir or fail "create \`$dstdir': $!";
changedir $dstdir;