t/.gitattributes: only ignore whitespace errors in test files
authorLea Wiemann <lewiemann@gmail.com>
Thu, 12 Jun 2008 22:35:59 +0000 (00:35 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 13 Jun 2008 05:22:55 +0000 (22:22 -0700)
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>
t/.gitattributes
t/test-lib.sh

index 562b12e..ab6edbf 100644 (file)
@@ -1 +1,2 @@
-* -whitespace
+t[0-9][0-9][0-9][0-9]-*.sh -whitespace
+t[0-9][0-9][0-9][0-9]/* -whitespace
index 7a8bd27..e9c9081 100644 (file)
@@ -168,7 +168,7 @@ trap 'die' exit
 # 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 () {
        FAKE_EDITOR="$1"
        export FAKE_EDITOR