-
-
Notifications
You must be signed in to change notification settings - Fork 103
Expand file tree
/
Copy path.gitattributes
More file actions
53 lines (46 loc) · 1.22 KB
/
Copy path.gitattributes
File metadata and controls
53 lines (46 loc) · 1.22 KB
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
* text=auto
#sources
*.c text
*.cc text
*.cxx text
*.cpp text
*.c++ text
*.hpp text
*.h text
*.h++ text
*.hh text
*.py text eol=lf
debian/* text eol=lf
# Compiled Object files
*.slo binary
*.lo binary
*.o binary
*.obj binary
# Precompiled Headers
*.gch binary
*.pch binary
# Compiled Dynamic libraries
*.so binary
*.dylib binary
*.dll binary
# Compiled Static libraries
*.lai binary
*.la binary
*.a binary
*.lib binary
# Executables
*.exe binary
*.out binary
*.app binary
# Shell scripts must always use LF line endings — they are intended to be
# executed by /bin/sh inside Linux containers and CI runners regardless of
# the platform they were checked out on. CRLF in a shebang line breaks
# `/bin/sh^M: bad interpreter` and the script silently fails to run.
*.sh text eol=lf
entrypoint.sh text eol=lf
# Windows batch files must always use CRLF. cmd.exe locates `call :label`
# targets via byte-offset seeks that assume CRLF; a `.bat` checked out with
# LF endings produces intermittent "The system cannot find the batch label
# specified" failures depending on where in the file the labels live.
*.bat text eol=crlf
*.cmd text eol=crlf