-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitattributes
27 lines (21 loc) · 941 Bytes
/
.gitattributes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# See also: https://help.github.com/articles/dealing-with-line-endings
# Overwrite the "core.autocrlf" global setting. This repository has binary and
# text files in both LF and CRLF line endings. So no automatic end-of-line
# conversion unless explicitly told below.
* -text
# Shell scripts.
*.sh text=auto eol=lf
*.bat text=auto eol=crlf
# Patch files in compile-notes. Because some patch files have mixed line
# endings, don't normalize them or else hunk fail may occur.
*.patch -text
# Grub4dos config file. Use CRLF line ending like in UBCD.
*.lst text=auto eol=crlf
# Syslinux config file. Use CRLF line ending like in UBCD.
*.cfg text=auto eol=crlf
# Plain texts are a little bit complicated. They have to be LF-ending in
# initrd and build.txz, but CRLF-ending in other places so that Windows users
# can open and read them.
cpustress/*.txt text eol=crlf
cpustress/help/*.txt text eol=crlf
cpustress/build/**/*.txt text eol=lf