summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2023-08-08 10:37:34 +0000
committerJunio C Hamano <gitster@pobox.com>2023-08-08 16:47:26 -0700
commit12009a182b51c1dd1f8020a3d88a1813e0af5f33 (patch)
treeae2853df0eff1b958d21a182d0e8a5f91e6c4a7a
parentfb7d80edcae482f4fa5d4be0227dc3054734e5f3 (diff)
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 <johannes.schindelin@gmx.de> Acked-by: Taylor Blau <me@ttaylorr.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--t/.gitattributes1
1 files changed, 1 insertions, 0 deletions
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