diff options
author | 2021-03-13 14:39:28 -0800 | |
---|---|---|
committer | 2021-03-13 14:41:46 -0800 | |
commit | 11f12a4b1cb8da70d6e454ff359a529bd097ba90 (patch) | |
tree | b58a9d39fd81921bdb88d63dcac9314757c98408 /.gitattributes | |
parent | Removes Unused Roles & Channels (diff) |
Use .gitattributes to normalise line endings on check-in
Remove the mixed line endings pre-commit hook because it is obsolete.
Relying on git to handle line endings means contributors have more
flexibility with which line endings they want to use on check-out.
The settings in .gitattributes only impose which line endings will
be used upon check-in (LF), which should not impact local development;
git will still respect the core.eol and core.autocrlf settings.
Diffstat (limited to '.gitattributes')
-rw-r--r-- | .gitattributes | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..3f3c4fd6 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +* text=auto +*.png binary |