From 201e064fa7eb89ec1aacf265c4c07fef037c87d7 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Mon, 7 Nov 2016 02:50:12 +0000 Subject: [PATCH] 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 --- dgit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dgit b/dgit index f1a30c3a..5056e11d 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; -- 2.30.2