Anonymous committed 7b7b451

t/.gitattributes: only ignore whitespace errors in test files

Only ignore whitespace errors in t/tNNNN-*.sh and the t/tNNNN
subdirectories. Other files (like test libraries) should still be

Also fix a whitespace error in t/

Signed-off-by: Lea Wiemann <>
Signed-off-by: Junio C Hamano <>

Comments (0)

Files changed (2)

-* -whitespace
+t[0-9][0-9][0-9][0-9]-*.sh -whitespace
+t[0-9][0-9][0-9][0-9]/* -whitespace
 # environment variables to work around this.
 # In particular, quoting isn't enough, as the path may contain the same quote
-# that we're using. 
+# that we're using.
 test_set_editor () {
 	export FAKE_EDITOR