-
Notifications
You must be signed in to change notification settings - Fork 3
/
.gitattributes
51 lines (43 loc) · 1.18 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Set the default behavior, in case people don't have core.autocrlf set.
* text=auto
# These files are text and should be normalized (convert crlf => lf)
*.h text diff=cpp
*.hpp text diff=cpp
*.cpp text diff=cpp
*.c text diff=cpp
*.cc text diff=cpp
*.java text diff=java
*.py text diff=python
*.lua text
*.proto text
# Netbeans *.form files
*.form text eol=lf
# Declare files that will always have LF line endings on checkout.
*.sh text eol=lf
*.bat text
*.cfg text eol=lf
*.mef text eol=lf
*.xml text
*.properties text
*.html text
*.xabsl text
# gradlew is a bash script
gradlew text eol=lf
# keep the message files allways with the originally generated line endings
# NOTE: exception for *_pb2.py:
# protoc enerates *_pb2.py files with system line endings
#*_pb2.py text eol=lf
# cc, h and java files are always generated with ln
*.pb.h text eol=lf
*.pb.cc text eol=lf
RobotControl/src/de/naoth/rc/core/messages/* text eol=lf
# Images should be treated as binary
# (binary is a macro for -text -diff)
*.png binary
*.jpg binary
*.jar binary
*.zip binary
*.wav binary
*.mp3 binary
# Whistle stuff
*.lst text eol=lf