]> 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>
Wed, 19 Jun 2024 12:15:54 +0000 (14:15 +0200)
commitde9c083442fe7ddac89248e77398245f1638a3bd
tree9336eff9bf49ee02442416275f431e32fc1b493c
parent59dbca05335aa645009097d31c7bd8cf506ffa04
.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