mirror of
https://github.com/git/git.git
synced 2026-05-02 12:26:02 +02:00
046e1117d5
The sample hooks are shell scripts but the filenames end with ".sample" so they need their own .gitattributes rule. Update our editorconfig settings to match the attributes as well. Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com>
22 lines
880 B
Plaintext
22 lines
880 B
Plaintext
* whitespace=trail,space
|
|
*.[ch] whitespace=indent,trail,space,incomplete diff=cpp
|
|
*.sh whitespace=indent,trail,space,incomplete text eol=lf
|
|
*.perl text eol=lf diff=perl
|
|
*.pl text eof=lf diff=perl
|
|
*.pm text eol=lf diff=perl
|
|
*.py text eol=lf diff=python
|
|
*.bat text eol=crlf
|
|
CODE_OF_CONDUCT.md -whitespace
|
|
/Documentation/**/*.adoc text eol=lf whitespace=trail,space,incomplete
|
|
/command-list.txt text eol=lf
|
|
/GIT-VERSION-GEN text eol=lf
|
|
/mergetools/* text eol=lf
|
|
/t/oid-info/* text eol=lf
|
|
/Documentation/git-merge.adoc conflict-marker-size=32
|
|
/Documentation/git-merge-file.adoc conflict-marker-size=32
|
|
/Documentation/gitk.adoc conflict-marker-size=32
|
|
/Documentation/user-manual.adoc conflict-marker-size=32
|
|
/t/t????-*.sh conflict-marker-size=32
|
|
/t/unit-tests/clar/test/expected/* whitespace=-blank-at-eof
|
|
/templates/hooks/*.sample whitespace=indent,trail,space,incomplete text eol=lf
|