diff options
author | Gaëtan Gilbert <gaetan.gilbert@skyskimmer.net> | 2017-11-19 19:06:24 +0100 |
---|---|---|
committer | Gaëtan Gilbert <gaetan.gilbert@skyskimmer.net> | 2017-11-20 11:36:41 +0100 |
commit | 72a8de79eea1aaaa65fd9139c2cb21f77a7e1735 (patch) | |
tree | 446f0d56523ea02b05e0de2d8216d4e5cd67d03b | |
parent | edf1a8f36f75861b822081b3825357e122b6937d (diff) |
Disable whitespace linter for .out files.
-rw-r--r-- | .gitattributes | 2 | ||||
-rwxr-xr-x | dev/tools/should-check-whitespace.sh | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/.gitattributes b/.gitattributes index f2c096f2d..51fa208a7 100644 --- a/.gitattributes +++ b/.gitattributes @@ -2,6 +2,8 @@ .gitignore export-ignore .mailmap export-ignore +*.out -whitespace + *.asciidoc whitespace=trailing-space,tab-in-indent *.bat whitespace=cr-at-eol,trailing-space,tab-in-indent *.bib whitespace=trailing-space,tab-in-indent diff --git a/dev/tools/should-check-whitespace.sh b/dev/tools/should-check-whitespace.sh index 8159506b4..190511d95 100755 --- a/dev/tools/should-check-whitespace.sh +++ b/dev/tools/should-check-whitespace.sh @@ -2,4 +2,4 @@ # determine if a file has whitespace checking enabled in .gitattributes -git check-attr whitespace -- "$1" | grep -q -v 'unspecified$' +git check-attr whitespace -- "$1" | grep -q -v -e 'unset$' -e 'unspecified$' |