Skip to content

Commit c087697

Browse files
committed
Ensure line endings for binary files are not modified in Git
This commit is necessary in order to upgrade the Gradle wrapper, since the recent attempt to do so ended up in a corrupted JAR file for the Gradle wrapper.
1 parent 9e066e5 commit c087697

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.gitattributes

+11
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,14 @@
33

44
# Ensure that line endings for multipart files in spring-web are not modified.
55
*.multipart -text
6+
7+
# Ensure that line endings for DOS batch files are not modified.
8+
*.bat -text
9+
10+
# Ensure the following are treated as binary.
11+
*.gif binary
12+
*.jar binary
13+
*.jpeg binary
14+
*.jpg binary
15+
*.png binary
16+
*.vsd binary

0 commit comments

Comments
 (0)