diff --git a/.editorconfig b/.editorconfig index 838d8cf..d1871de 100644 --- a/.editorconfig +++ b/.editorconfig @@ -20,5 +20,8 @@ indent_size = 2 [Makefile*] indent_style = tab +[*.bat] +end_of_line = crlf + [src/main/resources/default_banner.txt] insert_final_newline = false diff --git a/.gitattributes b/.gitattributes index ec83a67..a7f5e57 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1 +1,13 @@ -src/generated/** linguist-generated +# Line endings: store LF in the repository and check out LF on every platform. +# Git detects binary files itself through text=auto. The entries below are the exceptions. +* text=auto eol=lf + +# Windows batch files need CRLF in the working tree. +*.bat text eol=crlf + +# Binary files +*.jar binary +*.png binary + +# GitHub: mark the jOOQ generated sources as generated (collapsed in diffs, excluded from language statistics). +generated/src/** linguist-generated