Skip to content

Commit

Permalink
Use top level .gitattributes for entire project
Browse files Browse the repository at this point in the history
I'd originally only set them for strcalc/src/main/frontend by mistake in
commit e8aa28b from #71.
  • Loading branch information
mbland committed Dec 23, 2023
1 parent c6636d6 commit 84b1afd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 12 deletions.
15 changes: 8 additions & 7 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
#
# https://help.github.com/articles/dealing-with-line-endings/
#
# Linux start script should use lf
/gradlew text eol=lf
# Ensure line endings remain LF on Windows, instead of getting
# translated to CRLF. Otherwise, Bash chokes on \r characters.
# - https://help.github.com/articles/dealing-with-line-endings/
# - https://stackoverflow.com/a/47187309
* text eol=lf

# These are Windows script files and should use crlf
*.bat text eol=crlf
# Windows-specific files use CRLF
*.bat text eol=crlf

gradle/wrapper/gradle-wrapper.jar binary
5 changes: 0 additions & 5 deletions strcalc/src/main/frontend/.gitattributes

This file was deleted.

0 comments on commit 84b1afd

Please sign in to comment.