diff options
author | Jeff King <peff@peff.net> | 2008-06-14 03:26:37 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-06-14 11:39:16 -0700 |
commit | 74f16b0c6fece88f585f9556fa1d3a7406e7a42e (patch) | |
tree | 69eeae4a23e0842bd7a9cc936a76554e257be4bd /t/t4125-apply-ws-fuzz.sh | |
parent | fix whitespace violations in test scripts (diff) | |
download | tgif-74f16b0c6fece88f585f9556fa1d3a7406e7a42e.tar.xz |
mask necessary whitespace policy violations in test scripts
All of these violations are necessary parts of the tests
(which are generally checking the behavior of trailing
whitespace, or contain diff fragments with empty lines).
Our solution is two-fold:
1. Process input with whitespace problems using tr. This
has the added bonus that it becomes very obvious where
the bogus whitespace is intended to go.
2. Move large diff fragments into their own supplemental
files. This gets rid of the whitespace problem, since
supplemental files are not checked, and it also makes
the test script a bit easier to read.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4125-apply-ws-fuzz.sh')
0 files changed, 0 insertions, 0 deletions