cool-easter-32542
04/03/2023, 10:02 PM.gitignore to find additional files to ignore: https://www.pantsbuild.org/docs/reference-global#section-pants-ignore-use-gitignore
However, Git itself also looks at $GIT_DIR/info/exclude (usually .git/info/exclude) and $XDG_CONFIG_DIR/git/ignore (usually ~/.config/git/ignore, unless core.excludeFiles in ~/.gitconfig is set differently) to get additional ignore patterns: https://git-scm.com/docs/gitignore.
Describe the solution you'd like
It would be good if Pants supported these locations too.
This request is similar to #5682 but potentially simpler, as the interpretation of the patterns in these other ignore files is the same (they are relative to the repository root rather than some other location) and there is a fixed number of them.
Describe alternatives you've considered
You can replicate the additional ignore patterns in .pants.rc
pantsbuild/pantscool-easter-32542
04/03/2023, 10:02 PM