hyprpm: ignore pins when adding a package with a git rev (#10502)

ref #10436
This commit is contained in:
nezu
2025-05-22 13:54:02 +02:00
committed by GitHub
parent 185c96849e
commit 4f161da3d6

View File

@@ -256,7 +256,7 @@ bool CPluginManager::addNewPluginRepo(const std::string& url, const std::string&
progress.printMessageAbove(message);
}
if (!pManifest->m_repository.commitPins.empty()) {
if (rev.empty() && !pManifest->m_repository.commitPins.empty()) {
// check commit pins
progress.printMessageAbove(infoString("Manifest has {} pins, checking", pManifest->m_repository.commitPins.size()));