From 4b7bf8e47a1c46678507a9fd16c11ad9826e6e31 Mon Sep 17 00:00:00 2001 From: Brad King <brad.king@kitware.com> Date: Wed, 14 Dec 2016 09:09:34 -0500 Subject: [PATCH] Tell Git not to export any `.sh` or `.bash` scripts Our new scripts `update-gitsetup.bash` and `update-third-party.bash` should not be exported by `git archive`. Furthermore, they should be checked out with LF newlines. Update `.gitattributes` accordingly. --- .gitattributes | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitattributes b/.gitattributes index 029d66a..f2da782 100644 --- a/.gitattributes +++ b/.gitattributes @@ -3,8 +3,8 @@ .hooks* export-ignore /GitSetup export-ignore -/SetupForDevelopment.sh export-ignore eol=lf -/clang-format.bash export-ignore eol=lf +/*.sh export-ignore eol=lf +/*.bash export-ignore eol=lf /.clang-format export-ignore *.c whitespace=tab-in-indent,no-lf-at-eof -- GitLab