-
Notifications
You must be signed in to change notification settings - Fork 1.6k
[ty] Mark generated files as such in .gitattributes #18195
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
Conversation
dcreager
left a comment
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.
Thank you!
|
| rules.md -diff linguist-generated=true text=auto eol=lf | ||
| cli.md -diff linguist-generated=true text=auto eol=lf | ||
| configuration.md -diff linguist-generated=true text=auto eol=lf |
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.
It's sometimes nice to see how these files render but I guess it's not preventing me from doing just that
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 was wondering if they are completely hidden or if there is still a way to get to the diff. I guess we can revert this if we'd rather see them anyway.
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.
you can still see the diff, you just need to click a "show diff for this generated file" button in the "Files changed" tab
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.
And on the command line you can add -a to any git diff command
Summary
See comment here: #18156 (comment)