From: Johannes Schindelin Date: Tue, 8 Aug 2023 10:37:34 +0000 (+0000) Subject: t0040: declare non-tab indentation to be okay in this script X-Git-Tag: v2.42.0-rc2~5^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=12009a182b51c1dd1f8020a3d88a1813e0af5f33;p=thirdparty%2Fgit.git t0040: declare non-tab indentation to be okay in this script By necessity, this script needs to verify that certain Git output matches expectations, including text indented with spaces instead of tabs. Most recently, such a check was introduced in 448abbba6347 (short help: allow multi-line opthelp, 2023-07-18) which is reported by `git diff --check 448abbba6347^!` as having whitespace issues. Let's not complain about this because it is intentional. Signed-off-by: Johannes Schindelin Acked-by: Taylor Blau Signed-off-by: Junio C Hamano --- diff --git a/t/.gitattributes b/t/.gitattributes index 9930e28351..b9cea1795d 100644 --- a/t/.gitattributes +++ b/t/.gitattributes @@ -22,3 +22,4 @@ t[0-9][0-9][0-9][0-9]/* -whitespace /t7500/* eol=lf /t8005/*.txt eol=lf /t9*/*.dump eol=lf +/t0040*.sh whitespace=-indent-with-non-tab