This is an automated email from the ASF dual-hosted git repository.

nightowl888 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucenenet.git

commit 329c90addb12f8da63defcb8b3f160f932f64702
Author: Shad Storhaug <[email protected]>
AuthorDate: Sat Jan 8 11:29:51 2022 +0700

    .gitattributes: Never checkout BASH scripts with Widows line endings
---
 .gitattributes | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/.gitattributes b/.gitattributes
index 412eeda..6f5c6af 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1,8 +1,8 @@
-# Auto detect text files and perform LF normalization
+# Auto detect text files and perform LF normalization
 * text=auto
 
 # Custom for Visual Studio
-*.cs     diff=csharp
+*.cs     eol=crlf diff=csharp
 *.sln    merge=union
 *.csproj merge=union
 *.vbproj merge=union
@@ -20,3 +20,9 @@
 *.PDF   diff=astextplain
 *.rtf   diff=astextplain
 *.RTF   diff=astextplain
+
+# Batch Files
+build eol=lf
+*.sh eol=lf
+*.bat eol=crlf
+*.cmd eol=crlf
\ No newline at end of file

Reply via email to