https://git.reactos.org/?p=reactos.git;a=commitdiff;h=57fa5a22defb8711f8efd2441bffdd6ac8015db3

commit 57fa5a22defb8711f8efd2441bffdd6ac8015db3
Author:     Hermès Bélusca-Maïto <hermes.belusca-ma...@reactos.org>
AuthorDate: Sat Mar 8 21:01:50 2025 +0100
Commit:     Hermès Bélusca-Maïto <hermes.belusca-ma...@reactos.org>
CommitDate: Tue Mar 18 20:17:40 2025 +0100

    [GIT] Ensure .sh script files use LF (Unix) line endings (#7772)
    
    For example, this is what's expected by Cygwin (ba)sh on Windows.
---
 .gitattributes | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.gitattributes b/.gitattributes
index ee079a75c8d..c2c723297f4 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -30,6 +30,9 @@
 *.TXT text
 *.y text
 
+# Files with these extensions must always have LF (Unix) line endings.
+*.sh text eol=lf
+
 # Files with these extensions end up in the built ReactOS system, so they
 # need to have CRLF line endings.
 *.bat text eol=crlf

Reply via email to