Colouring whitespace errors in diff -B output
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | diff.c: shuffling code arounddiff.c | +125 | 0 replies | |
| 2/4 | diff.c: split emit_line() from the first char and the rest of the linediff.c | +9 | 0 replies | |
| 3/4 | diff.c: emit_add_line() takes only the rest of the linediff.c | +8 | 0 replies | |
| 4/4 | diff -B: colour whitespace errorsdiff.c | +49 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] Colouring whitespace errors in diff -B output
Here is a 4-patch miniseries to teach "diff -B" output routines to detect and colour whitespace errors like we do for normal patches.
The first three patches are only about moving code around without changing anything.
The last one hooks "diff -B" logic to the per-line output routines in a way that mimicks how the normal patches are fed to them better, in order to take advantage of all the existing whitespace error detection and colouring logic.
Junio C Hamano (4):
diff.c: shuffling code around
diff.c: split emit_line() from the first char and the rest of the line diff.c: emit_add_line() takes only the rest of the line diff -B: colour whitespace errors
diff.c | 327 +++++++++++++++++++++++++++++++++++----------------------------- 1 files changed, 180 insertions(+), 147 deletions(-)