From: Ian Jackson Date: Mon, 7 Nov 2016 02:50:12 +0000 (+0000) Subject: clone: Postpone canonicalise_suite X-Git-Tag: archive/debian/2.10~28 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=commitdiff_plain;h=201e064fa7eb89ec1aacf265c4c07fef037c87d7 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 --- 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;