]> git.ipfire.org Git - thirdparty/git.git/commitdiff
t0040: declare non-tab indentation to be okay in this script
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Tue, 8 Aug 2023 10:37:34 +0000 (10:37 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 8 Aug 2023 23:47:26 +0000 (16:47 -0700)
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>
t/.gitattributes

index 9930e283512b663133161fd474fc2101c19ec283..b9cea1795d84e3c4e334a89822e059e8d67512ef 100644 (file)
@@ -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