Skip to content

Commit

Permalink
Normalize repo to LF (Unix) line-endings, enforce (#654)
Browse files Browse the repository at this point in the history
- A top-level .gitattributes sets the attribute 'text=auto' for all
  files in the repo, enabling line-ending normalization
- A `git add --renormalize` run converted any existing CRLF files
  to the canonical LF format.
- 'text=auto' permits Git on Windows to convert files to CRLF
  automatically on checkout, for convenience. Any commits
  added will be converted back to the repo format for checkin.
  • Loading branch information
ferdnyc committed Apr 13, 2021
1 parent 8cefd49 commit fbc8a9b
Show file tree
Hide file tree
Showing 7 changed files with 941 additions and 939 deletions.
2 changes: 2 additions & 0 deletions .gitattributes
@@ -0,0 +1,2 @@
* text=auto

0 comments on commit fbc8a9b

Please sign in to comment.