fsck: Avoid complaining about required content of dead repositories
authorJoey Hess <joeyh@joeyh.name>
Wed, 26 Mar 2025 14:30:33 +0000 (10:30 -0400)
committerJoey Hess <joeyh@joeyh.name>
Wed, 26 Mar 2025 14:30:33 +0000 (10:30 -0400)
commitcc8f7e9776c29738ea284cbccb573b255d8ba685
treedc640aa37fd3fb91f870d4a2a0b7fb2162c3e2f1
parentc45c4fd8979ac4323308d86ad75895f77210644d
fsck: Avoid complaining about required content of dead repositories

requiredContentMap does not exclude dead repos. Usually this is not a
problem because it is used when we are operating on a repository, and in
that case, the repository is not dead (or if it is, the required content
configurations should still be used). But in the case of fsck, this made a
old required content config for a dead repository be warned about in a
situation where it is not a problem.
CHANGELOG
Command/Fsck.hs
doc/bugs/fsck_complains_about_requires_of_dead_repos.mdwn