Skip to content

Commit

Permalink
t0040: declare non-tab indentation to be okay in this script
Browse files Browse the repository at this point in the history
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 448abbb (short help:
allow multi-line opthelp, 2023-07-18) which is reported by `git diff
--check 448abbb^!` as having whitespace issues.

Let's not complain about this because it is intentional.

Signed-off-by: Johannes Schindelin <[email protected]>
  • Loading branch information
dscho committed Aug 8, 2023
1 parent 448abbb commit 9cb4ac3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions t/.gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 9cb4ac3

Please sign in to comment.