-
-
Notifications
You must be signed in to change notification settings - Fork 652
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Include global Git ignore file and .git/info/exclude
in pants_ignore
to ignore for file watching
#18649
Include global Git ignore file and .git/info/exclude
in pants_ignore
to ignore for file watching
#18649
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Each commit is distinct
Should we fork the ignore crate in the meantime? I'm optimistic BurntSushi/ripgrep#2482 will be accepted, so it would hopefully be a short-lived fork. |
Go for it. Fork it into the pants org, include the one line change, and then add it to cargo.toml (with a comment specifying linking to the PR so that we can remove the fork later once it's merged/released upstream). |
.git/info/exclude
in pants_ignore
to ignore for file watching.git/info/exclude
in pants_ignore
to ignore for file watching
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand a lot of the rust syntax. But, from what I can tell, this looks great.
I use .git/info/exclude
and the global gitignore files, so this change will make things so much nicer for me. Thank you!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Co-authored-by: Stu Hood <[email protected]>
Closes #15935.