Skip to content

Commit

Permalink
Ensure line endings for binary files are not modified in Git
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
sbrannen committed Oct 18, 2019
1 parent 9e066e5 commit c087697
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,14 @@

# Ensure that line endings for multipart files in spring-web are not modified.
*.multipart -text

# Ensure that line endings for DOS batch files are not modified.
*.bat -text

# Ensure the following are treated as binary.
*.gif binary
*.jar binary
*.jpeg binary
*.jpg binary
*.png binary
*.vsd binary

0 comments on commit c087697

Please sign in to comment.