diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2016-11-07 02:50:12 +0000 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2016-11-07 02:50:12 +0000 |
commit | 201e064fa7eb89ec1aacf265c4c07fef037c87d7 (patch) | |
tree | bbf2176feea15f567b3c96e3669918dfd76a166e /dgit | |
parent | d422e614352724c8cd511c8d1ae8a6d9a1ba5265 (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-x | dgit | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |