From 734cb5e03de1bf688bcc91c8cd7e526a9835709b Mon Sep 17 00:00:00 2001 From: Aaron Costley Date: Tue, 31 Jul 2018 12:52:15 -0700 Subject: [PATCH] Add .gitattributes file to ensure compatable line endings across platforms. Modify .gitallowed to allow all test patterns detected by git-secrets. --- .gitallowed | 8 +++++++- .gitattributes | 6 ++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 .gitattributes diff --git a/.gitallowed b/.gitallowed index 619a5ec396616..27dcb22840c23 100644 --- a/.gitallowed +++ b/.gitallowed @@ -1,2 +1,8 @@ # The only AWS account number allowed to be used in tests (used by git-secrets) -123456789012 +account = '123456789012'; +# Account patterns used in the README +account: '000000000000' +account: '111111111111' +account: '333333333333' +# Account patterns used in the CHANGELOG +account: '123456789012' \ No newline at end of file diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000000000..a7d2b4fa45b7f --- /dev/null +++ b/.gitattributes @@ -0,0 +1,6 @@ +# Set the default behavior, in case people don't have core.autocrlf set. +* text=auto + +# Currently, this repository has LF dependecnies in building and testing, with json, sh, and no extensions. +# Until this is fixed, it is best to just set the whole repository to be LF. +* eol=lf \ No newline at end of file