This is an automated email from the ASF dual-hosted git repository. lgoldstein pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mina-sshd.git
commit 9034a9286acec5c7cd840cd3bc4c66cb2d7e2df6 Author: Lyor Goldstein <lgoldst...@apache.org> AuthorDate: Tue Apr 21 16:35:39 2020 +0300 [SSHD-978] Updated .gitattributes settings --- .gitattributes | 29 +++++++++++++++++++++-------- 1 file changed, 21 insertions(+), 8 deletions(-) diff --git a/.gitattributes b/.gitattributes index e0bf0dc..612efd8 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,22 +1,35 @@ +# NOTE: see https://help.github.com/en/github/using-git/configuring-git-to-handle-line-endings#refreshing-a-repository-after-changing-line-endings +# regarding the need to re-normalize the files after changing this one + +# Handle line endings automatically for files detected as text +# and leave all files detected as binary untouched. * text=auto + *.txt text eol=lf *.sh text eol=lf *.properties text eol=lf *.groovy text eol=lf *.scala text eol=lf +*.java text eol=lf *.pl text eol=lf +*.md text eol=lf *.awk text eol=lf *.xml text eol=lf +*.html text eol=lf *.yaml text eol=lf *.json text eol=lf *.py text eol=lf *.js text eol=lf *.bat text eol=crlf -*.vbs text eol=crlf -*.jpg -text -*.pdf -text -*.png -text -*.gif -text -*.jar -text -*.zip -text -*.war -text +*.vbs text eol=crlf + +# These files are binary and should be left untouched +# (binary is macro for -text -diff) +*.jpg binary +*.gif binary +*.png binary +*.class binary +*.pdf binary +*.jar binary +*.zip binary +*.war binary