@matheusbsbs / matheus-bagliano / commits / 7b7b4516de
Fork 0

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 checked. Also fix a whitespace error in t/test-lib.sh. Signed-off-by: Lea Wiemann <LeWiemann@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Lea Wiemann committed Jun 13, 2008 at 00:35 UTC 7b7b4516def229846ae20a43818be7e0b30d4261
2 files changed +3 -2
t/.gitattributes
+2 -1
@@ -1 +1,2 @@
1 -* -whitespace
1 +t[0-9][0-9][0-9][0-9]-*.sh -whitespace
2 +t[0-9][0-9][0-9][0-9]/* -whitespace
t/test-lib.sh
+1 -1
@@ -168,7 +168,7 @@ trap 'die' exit
168 # environment variables to work around this.
169 #
170 # In particular, quoting isn't enough, as the path may contain the same quote
171 -# that we're using.
171 +# that we're using.
172 test_set_editor () {
173 FAKE_EDITOR="$1"
174 export FAKE_EDITOR