Ignore refs/multi-site/version in globalrefdb validation
Change-Id: Ifa0dcdc6c7f03b9af7969775dc09b179eca96f7f
diff --git a/multi-primary/globalrefdb.groovy b/multi-primary/globalrefdb.groovy
index 8736b9e..7ad1ecf 100644
--- a/multi-primary/globalrefdb.groovy
+++ b/multi-primary/globalrefdb.groovy
@@ -111,6 +111,11 @@
boolean checkRef(Project.NameKey projectName, Repository repo, Ref ref)
{
+ // refs/multi-site/version is just a tracking of the update ts of the repo
+ if (ref.getName() == "refs/multi-site/version") {
+ return true;
+ }
+
def isUpToDate = globalRefDb.get().isUpToDate(projectName, ref)
if (verbose && isUpToDate) {