-
Notifications
You must be signed in to change notification settings - Fork 20
/
.gitattributes
34 lines (30 loc) · 1.33 KB
/
.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
28
29
30
31
32
33
34
# Files identified as text should be checked in with LFs, and checked
# out with the platform-specific EOL markers.
#
# Essentially runs `git config core.autocrlf true` for every clone.
* text=auto
# Shell scripts should always have LFs.
*.sh text eol=lf
/debugger/oe-gdb text eol=lf
/samples/run text eol=lf
/scripts/** text eol=lf
/scripts/README.md text -eol
/tests/crypto/host/genkeys text eol=lf
# Windows build files should always have CRLFs.
*.sln text eol=crlf
*.vcxproj text eol=crlf
/CMakeSettings.json text eol=crlf
# The 3rdparty dependencies are nested: the first folder contains our
# build scripts, which we want these attributes to apply to, and the
# second folder contains the actual upstream 3rdparty code, which we
# want to exclude from these rules.
/3rdparty/dlmalloc/dlmalloc/** -text -eol
/3rdparty/libcxx/libcxx/** -text -eol
/3rdparty/libcxxrt/libcxxrt/** -text -eol
/3rdparty/libunwind/libunwind** -text -eol
/3rdparty/mbedtls/mbedtls/** -text -eol
/3rdparty/musl/musl/** -text -eol
# The result of printf on host side is based on the OS. Thus it is better to
# use different bench files on different host OS and let git ignore it.
/tests/print/results/** -text -eol
/tests/libcxxrt/results/** -text -eol