From ee9b8795119fdc1b28b22cef5602d137cc2377a0 Mon Sep 17 00:00:00 2001 From: Felix Date: Fri, 5 Aug 2016 20:46:52 +0200 Subject: [PATCH] Update .gitattributes --- .gitattributes | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/.gitattributes b/.gitattributes index bdb0cab..f78d973 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,17 +1,16 @@ -# Auto detect text files and perform LF normalization +# Line endings: enforce LF in GitHub, convert to native on checkout. + * text=auto +*.js text -# Custom for Visual Studio -*.cs diff=csharp +# Make GitHub ignore vendor libraries while computing language stats. +# See https://github.com/github/linguist#overrides. -# Standard to msysgit -*.doc diff=astextplain -*.DOC diff=astextplain -*.docx diff=astextplain -*.DOCX diff=astextplain -*.dot diff=astextplain -*.DOT diff=astextplain -*.pdf diff=astextplain -*.PDF diff=astextplain -*.rtf diff=astextplain -*.RTF diff=astextplain +*.proto linguist-vendored=true +*.sh linguist-vendored=true +*.bat linguist-vendored=true + +# Explicitly specify language for non-standard extensions used under +# ide/web/lib/templates to make GitHub correctly count their language stats. +# +*.js_ linguist-language=JavaScript