forked from lix-project/hydra
forcing branch switch
This commit is contained in:
parent
6b88be040e
commit
ee840be313
|
@ -40,7 +40,7 @@ sub _cloneRepo {
|
|||
if (defined $deepClone) {
|
||||
|
||||
# Checkout the branch to look at its content.
|
||||
$res = run(cmd => ["git", "checkout", "$branch"], dir => $clonePath);
|
||||
$res = run(cmd => ["git", "checkout", "--force", "$branch"], dir => $clonePath);
|
||||
die "error checking out Git branch '$branch' at `$uri':\n$res->{stderr}" if $res->{status};
|
||||
|
||||
if (-f ".topdeps") {
|
||||
|
|
Loading…
Reference in a new issue