You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by jh...@apache.org on 2020/01/30 01:11:28 UTC

[calcite] 01/04: Git: Windows line-endings

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

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

commit 076780ad3d02bd1483b6713146915c3e43f89e33
Author: Julian Hyde <jh...@apache.org>
AuthorDate: Sat Jan 25 12:25:49 2020 -0800

    Git: Windows line-endings
    
    Kotlin files are text;
    Shell scripts gradlew, sqlline, sqlsh have Unix line-endings even on Windows.
---
 .gitattributes | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/.gitattributes b/.gitattributes
index 451debf..f12ff45 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -4,6 +4,8 @@
 *.cs     text diff=csharp
 *.java   text diff=java
 *.html   text diff=html
+*.kt     text diff=kotlin
+*.kts    text diff=kotlin
 *.py     text diff=python
 *.pl     text diff=perl
 *.pm     text diff=perl
@@ -13,6 +15,9 @@
 *.q      text
 
 *.sh     text eol=lf
+gradlew  text eol=lf
+sqlsh    text eol=lf
+sqlline  text eol=lf
 
 #test files, use lf so that size is same on windows as well
 data/files/*.dat    text eol=lf