forcing branch switch
This commit is contained in:
parent
6b88be040e
commit
ee840be313
|
@ -40,7 +40,7 @@ sub _cloneRepo {
|
||||||
if (defined $deepClone) {
|
if (defined $deepClone) {
|
||||||
|
|
||||||
# Checkout the branch to look at its content.
|
# 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};
|
die "error checking out Git branch '$branch' at `$uri':\n$res->{stderr}" if $res->{status};
|
||||||
|
|
||||||
if (-f ".topdeps") {
|
if (-f ".topdeps") {
|
||||||
|
|
Loading…
Reference in a new issue