Skip to content

Commit

Permalink
normalize line endings
Browse files Browse the repository at this point in the history
_This change is similar to Incendo/cloud#786
  • Loading branch information
Djaytan committed Jan 14, 2025
1 parent a5ad992 commit c4af9bf
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#
# https://help.github.com/articles/dealing-with-line-endings/
#
# These are explicitly windows files and should use crlf
*.bat text eol=crlf
# Documentation: https://www.git-scm.com/docs/gitattributes

# Set default behavior to automatically normalize line endings.
* text=auto eol=lf

# Force batch scripts to always use CRLF line endings so that if a repo is accessed
# in Windows via a file share from Linux, the scripts will work.
*.cmd text eol=crlf
*.bat text eol=crlf

0 comments on commit c4af9bf

Please sign in to comment.