]> git.ipfire.org Git - thirdparty/zlib-ng.git/commit
.gitattributes: Enforce LF line-endings on all non-binary files
authorDeniz Bahadir <deniz@code.bahadir.email>
Wed, 24 Apr 2024 14:37:34 +0000 (16:37 +0200)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Mon, 6 May 2024 20:49:25 +0000 (22:49 +0200)
commite411c107d44b79d85d6577a9448ba717555eb653
tree1e2078bbcb72173762069cc7ef930974f7dfa093
parentee618f6f19f546465b56e1c393f1d6cca13818f2
.gitattributes: Enforce LF line-endings on all non-binary files

Although Git is able to automatically modify line-endings during checkin
and checkout, this brings a lot of trouble, especially when trying to
use a repository from different platforms (as Windows and Linux). This
is due to the fact that Git consults different local gitconfig settings
and uses problematic defaults if not set.

Therefore, Git should enfoce one type of line-ending (LF) and not
consult the local config, which is what the change from this commit
does.

Signed-off-by: Deniz Bahadir <deniz@code.bahadir.email>
.gitattributes