Visitar URL original
Update generated files list and add `diff=generated` attribute by erlend-aasland · Pull Request #30745 · python/cpython · GitHub
Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Document git diff trick
  • Loading branch information
Erlend E. Aasland
Erlend E. Aasland committed Jan 21, 2022
commit cde22e6ca45ad68aaaf29b9adfcfdf6989774e20
4 changes: 4 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ PC/readme.txt text eol=crlf

# Generated files
# https://github.com/github/linguist/blob/master/docs/overrides.md
#
Comment thread
erlend-aasland marked this conversation as resolved.
# To automatically hide generated files in local diffs, mark them as binary:
# $ git config diff.generated.binary true
#
**/clinic/*.h linguist-generated=true diff=generated
*_db.h linguist-generated=true diff=generated
Doc/library/token-list.inc linguist-generated=true diff=generated
Expand Down