Force the origin remote url to be the original one and not that of a mirror
parent
373c688f8c
commit
fb1747624c
|
@ -60,6 +60,10 @@ class GitDownloader extends VcsDownloader
|
||||||
}
|
}
|
||||||
$package->setSourceReference($newRef);
|
$package->setSourceReference($newRef);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($url !== $package->getSourceUrl()) {
|
||||||
|
$this->process->execute(sprintf('git remote set-url origin %s', $package->getSourceUrl()), $output, $path);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue