mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 04:43:10 +00:00
5e8c9de631
You can see attributes set on a particular file with git check-attr -a PATH
32 lines
831 B
Text
32 lines
831 B
Text
# normalize newlines
|
|
* text=auto
|
|
*.fish text
|
|
*.bat eol=crlf
|
|
|
|
# let git show off diff hunk headers, help git diff -L:
|
|
# https://git-scm.com/docs/gitattributes
|
|
*.cpp diff=cpp
|
|
*.h diff=cpp
|
|
*.py diff=py
|
|
# add a [diff "fish"] to git config with pattern
|
|
*.fish diff=fish
|
|
|
|
# omit from git archive
|
|
.gitattributes export-ignore
|
|
.gitignore export-ignore
|
|
/build_tools/make_tarball.sh export-ignore
|
|
/debian export-ignore
|
|
/debian/* export-ignore
|
|
/.github export-ignore
|
|
/.github/* export-ignore
|
|
/.builds export-ignore
|
|
/.builds/* export-ignore
|
|
|
|
# for linguist; let github identify our project as C++ instead of C due to pcre2
|
|
pcre2/** linguist-vendored
|
|
angular.js linguist-vendored
|
|
angular-*.js linguist-vendored
|
|
doc_src/** linguist-documentation
|
|
*.fish linguist-language=fish
|
|
src/*.h linguist-language=c++
|
|
src/builtins/*.h linguist-language=c++
|