summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: fa5b4f3)
raw | patch | inline | side by side (parent: fa5b4f3)
author | Lea Wiemann <lewiemann@gmail.com> | |
Thu, 12 Jun 2008 22:35:59 +0000 (00:35 +0200) | ||
committer | Junio 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>
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 | patch | blob | history | |
t/test-lib.sh | patch | blob | history |
diff --git a/t/.gitattributes b/t/.gitattributes
index 562b12e16ebc543db80629d8bcf9499f7a16e74f..ab6edbf19e80a5e07c85ff7cde05061fba349647 100644 (file)
--- a/t/.gitattributes
+++ b/t/.gitattributes
-* -whitespace
+t[0-9][0-9][0-9][0-9]-*.sh -whitespace
+t[0-9][0-9][0-9][0-9]/* -whitespace
diff --git a/t/test-lib.sh b/t/test-lib.sh
index 7a8bd27abc79a43a9248c3bcee8d6a3670e30fe3..e9c9081edf9609a9273d8a471a909bac62f380e8 100644 (file)
--- a/t/test-lib.sh
+++ b/t/test-lib.sh
# 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