From c240cc005fc320a9566d1845b53c7f02e6923e0d Mon Sep 17 00:00:00 2001 From: gsemaj Date: Fri, 30 Apr 2021 03:13:22 -0400 Subject: [PATCH] Enforce LF in source through git attributes --- .gitattributes | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitattributes b/.gitattributes index bded128..da55d7f 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1 +1,5 @@ vendor/* linguist-vendored + +# Always checkout source with LF line endings +src/*.c text eol=lf +src/*.h text eol=lf