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

Compare commits

...

2 Commits

Author SHA1 Message Date
Jozef Izso
46a8961ad7
Merge pull request #235 from runningcode/patch-1
Add handling for windows .bat files
2025-01-21 14:49:30 +01:00
Nelson Osacky
a5244cbd8e
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
2025-01-21 13:43:56 +01:00

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