Skip to content

Commit 0f4f47c

Browse files
committed
Convert CRLF line endings to LF
This patch simplifies line endings tracked in the Git repository and syncs them to all include the LF style instead of the CRLF files. Newline characters: - LF (\n) (*nix and Mac) - CRLF (\r\n) (Windows) - CR (\r) (old Mac, obsolete) To see which line endings are in the index and in the working copy the following command can be used: `git ls-files --eol` Git additionally provides `.gitattributes` file to specify if some files need to have specific line endings on all platforms (either CRLF or LF). Changed files shouldn't cause issues on modern Windows platforms because Git can do output conversion if core.autocrlf=true is set on Windows and then uses CRLF newlines in all files in the working tree. Unless CRLF files are tracked specifically, Git by default tracks all files in the index using LF newlines.
1 parent bf19f76 commit 0f4f47c

File tree

2 files changed

+372
-372
lines changed

2 files changed

+372
-372
lines changed

0 commit comments

Comments
 (0)