-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Update .gitattributes to add exlusion lists. #10267
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
base: development
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,11 @@ | ||
# Classify all '.function' files as C for syntax highlighting purposes | ||
*.function linguist-language=C | ||
|
||
# Ignore listed files when creating an archive | ||
.github/** export-ignore | ||
.git* export-ignore | ||
.pylintrc export-ignore | ||
.mypy.ini. export-ignore | ||
Comment on lines
+7
to
+8
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I guess In any case, I can't think of a reason to exclude those but include |
||
.globalrc export-ignore | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We should keep this: it's for people who browse the source code in some IDEs. |
||
.travis.yml export-ignore | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Actually we should just remove |
||
.readthedocs.yaml export-ignore | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why shouldn't it be possible to build a readthedocs version from a tarball release? |
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.
Why not keep
.gitattributes
in the tarball? Other tools such as IDEs and code indexing tools might use it, to recognize*.function
files as C (but I don't know of any tool that does so, I'm just speculating).