Move the "don't look at the database" behavior the flag enables into the cache lookup. D8781 should have been slightly more aggressive and done this, it was just overlooked.
- Maniphest Tasks
- T13591: Importing repositories may incorrectly queue some tasks at "PRIORITY_COMMIT"
- rP16a14af2bb17: Correct the behavior of "bin/repository discover --repair"
- Ran bin/repository discover --help and read the updated help text.
- Ran bin/repository discover --repair in a fully-discovered Git repository.
- Before: no effect.
- After: full rediscovery.