2016-08-01 21:26:55 +08:00
|
|
|
# normalize newlines
|
2016-08-01 19:35:18 +08:00
|
|
|
* text=auto
|
2016-08-01 21:26:55 +08:00
|
|
|
*.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
|
2019-02-14 05:33:12 +08:00
|
|
|
*.h diff=cpp
|
2016-08-01 21:26:55 +08:00
|
|
|
*.py diff=py
|
|
|
|
# add a [diff "fish"] to git config with pattern
|
|
|
|
*.fish diff=fish
|
|
|
|
|
|
|
|
# omit from git archive
|
2012-05-10 17:10:39 +08:00
|
|
|
.gitattributes export-ignore
|
|
|
|
.gitignore export-ignore
|
2013-06-24 18:06:12 +08:00
|
|
|
/build_tools/make_tarball.sh export-ignore
|
2015-07-09 12:49:47 +08:00
|
|
|
/debian export-ignore
|
2015-07-02 15:06:05 +08:00
|
|
|
/debian/* export-ignore
|
2016-02-24 14:44:19 +08:00
|
|
|
/.github export-ignore
|
|
|
|
/.github/* export-ignore
|
2019-02-13 20:56:36 +08:00
|
|
|
/.builds export-ignore
|
|
|
|
/.builds/* export-ignore
|
|
|
|
/.travis.yml export-ignore
|
2016-08-01 21:26:55 +08:00
|
|
|
|
|
|
|
# for linguist; let github identify our project as C++ instead of C due to pcre2
|
2018-12-29 21:33:00 +08:00
|
|
|
/pcre2-10.32/* linguist-vendored
|
2019-02-14 05:33:12 +08:00
|
|
|
/install-sh linguist-vendored
|
|
|
|
/m4/* linguist-vendored
|
2016-08-01 21:26:55 +08:00
|
|
|
angular.js linguist-vendored
|
2016-08-01 19:35:18 +08:00
|
|
|
/doc_src/* linguist-documentation
|
2016-08-01 21:26:55 +08:00
|
|
|
*.fish linguist-language=fish
|
2017-05-14 20:10:29 +08:00
|
|
|
tests/*.in linguist-language=fish
|