Comment from @JensRantil in a private repository, I'm adding it as an issue here as a reminder to decide what to do about it.
How about generate_codeowners ordering according to
- Shortest first; otherwise
- Lexicographically.
That way the codeowners file will always be do more specific paths first which likely is what you want, right?
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too