Skip to content

Commit

Permalink
fix line endings in git cross plat
Browse files Browse the repository at this point in the history
  • Loading branch information
solrevdev committed Jan 10, 2022
1 parent 599b5c3 commit d58bf2f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
###############################

# Set default behavior to automatically normalize line endings.
* text=auto
* text=auto eol=lf
*.{cmd,[cC][mM][dD]} text eol=crlf
*.{bat,[bB][aA][tT]} text eol=crlf

# Force bash scripts to always use lf line endings so that if a repo is accessed
# in Unix via a file share from Windows, the scripts will work.
Expand Down
4 changes: 3 additions & 1 deletion src/Data/gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
###############################

# Set default behavior to automatically normalize line endings.
* text=auto
* text=auto eol=lf
*.{cmd,[cC][mM][dD]} text eol=crlf
*.{bat,[bB][aA][tT]} text eol=crlf

# Force bash scripts to always use lf line endings so that if a repo is accessed
# in Unix via a file share from Windows, the scripts will work.
Expand Down

0 comments on commit d58bf2f

Please sign in to comment.