RFC Series to correct xutils incomplete line handling.
Get series with b4
b4 am alpine.DEB.2.00.0908191713070.2012@GWPortableVCSVersions newest first
- v1 RFC Latest6 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | Add supplemental test for trailing-whitespace on incomplete lines.t/ | +95 | 0 replies | |
| 2/6 | Make xdl_hash_record_with_whitespace ignore eofxdiff/ | +2 | 0 replies | |
| 3/6 | Make diff -w handle trailing-spaces on incomplete lines.xdiff/ | +4 | 1 reply | |
| 4/6 | Make diff -b handle trailing-spaces on incomplete lines.xdiff/ | +3 | 0 replies | |
| 5/6 | Make diff --ignore-space-at-eol handle incomplete lines.xdiff/ | +1 | 0 replies | |
| 6/6 | Add diff tests for trailing-space on incomplete linest/ | +33 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/6 RFC] Series to correct xutils incomplete line handling.
[1/6]
Add supplemental test for trailing-whitespace on incomplete lines.
-- This patch is for illustrative purposes only. It exposes the current failures of git diff whitespace ignore options when dealing with trailing- spaces on incomplete lines.
[2/6] through [5/6]
Make xdl_hash_record_with_whitespace ignore eof Make diff -w handle trailing-spaces on incomplete lines. Make diff -b handle trailing-spaces on incomplete lines. Make diff --ignore-space-at-eol handle incomplete lines.
-- These alter the record ptr loops to go to the end of the record and to treat the terminator as it would '\n'.
[6/6]
Add diff tests for trailing-space on incomplete lines
-- Just the seven test cases that would identify future breakage.
t/t4015-diff-trailing-whitespace.sh | 95 +++++++++++++++++++++++++++++++++++ t/t4015-diff-whitespace.sh | 33 ++++++++++++ xdiff/xutils.c | 20 ++++---- 3 files changed, 138 insertions(+), 10 deletions(-) create mode 100755 t/t4015-diff-trailing-whitespace.sh