The effect is that ts-xen-build (the only other caller of
build_url_vcs) now gets the massaged rather than unmassaged urls.
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
}
}
+ if (($vcs // '<unknown>') eq 'git') {
+ $tree = git_massage_url($tree);
+ }
+
return ($tree, $vcs);
}
END
} elsif ($vcs eq 'git') {
- my $eff_tree = git_massage_url($tree);
-
target_cmd_build($ho, $timeout, $builddir, <<END.
$rm
- git clone '$eff_tree' $subdir
+ git clone '$tree' $subdir
cd $subdir
END
(length($r{"revision_$which"}) ? <<END : ''));