1
0
mirror of https://github.com/gitattributes/gitattributes.git synced 2025-01-22 00:08:52 -05:00

Add handling for windows .bat files

This is based on this line in the Gradle/gradle repo: https://github.com/gradle/gradle/blob/master/.gitattributes#L9
This commit is contained in:
Nelson Osacky 2025-01-21 13:43:56 +01:00 committed by GitHub
parent 2c99716378
commit a5244cbd8e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -38,3 +38,6 @@
# Common build-tool wrapper scripts ('.cmd' versions are handled by 'Common.gitattributes') # Common build-tool wrapper scripts ('.cmd' versions are handled by 'Common.gitattributes')
mvnw text eol=lf mvnw text eol=lf
gradlew text eol=lf gradlew text eol=lf
# These are explicitly windows files and should use crlf
*.bat text eol=crlf