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?
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.