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>
This commit is contained in:
parent
fa5b4f37e4
commit
7b7b4516de
3
t/.gitattributes
vendored
3
t/.gitattributes
vendored
@ -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
|
||||||
|
@ -168,7 +168,7 @@ trap 'die' exit
|
|||||||
# environment variables to work around this.
|
# environment variables to work around this.
|
||||||
#
|
#
|
||||||
# In particular, quoting isn't enough, as the path may contain the same quote
|
# 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 () {
|
test_set_editor () {
|
||||||
FAKE_EDITOR="$1"
|
FAKE_EDITOR="$1"
|
||||||
export FAKE_EDITOR
|
export FAKE_EDITOR
|
||||||
|
Loading…
Reference in New Issue
Block a user