indexer: correct the comment on movedPackages, which A-464 made untrue

Builds: design 47 G-22 A-464
This commit is contained in:
2026-11-17 02:02:12 +01:00
parent 250a0f1b12
commit 1987a3915e
@@ -124,7 +124,7 @@ func (ix *Indexer) ApplySource(ctx context.Context, a meshdelivery.SourceAnswer)
}
}
// A module built against the commit the source named as a repository's head (a package no module publishes, A-365) is
// computed again when that head moves: the gate moves the source only after the take-in.
// computed again when that head moves: the gate moves the source on the forge bridge's merged message (A-464), before the take-in, and at the take-in for a head no merged moved.
if movedPackages(held, before, s.Heads) {
if err := ix.Recompute(ctx); err != nil {
return err