Skip to content

diff.wsErrorHighlight configuration variable

Junio C Hamano git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4t4015: split out the "setup" part of ws-error-highlight testt/t4015-diff-whitespace.sh+21 -180 replies
2/4diff.c: refactor parse_ws_error_highlight()diff.c+16 -50 replies
3/4diff.c: move ws-error-highlight parsing helpers updiff.c+37 -370 replies
4/4diff: introduce diff.wsErrorHighlight optionDocumentation/diff-config.txt Documentation/diff-options.txt diff.c +1 more+53 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] diff.wsErrorHighlight configuration variable

"git diff" and its family of commands have "--ws-error-highlight" option to allow whitespace breakages on old and context lines painted in color.diff.whitespace color, instead of the usual "we paint breakages only on new lines", but there wasn't a configuration variable that corresponds to it.

This would be a lot closer to a series that could be acceptable, compared to the previous "it should look like this" patch.

Junio C Hamano (4):
t4015: split out the "setup" part of ws-error-highlight test diff.c: refactor parse_ws_error_highlight() diff.c: move ws-error-highlight parsing helpers up
diff: introduce diff.wsErrorHighlight option

 Documentation/diff-config.txt  |  6 +++
 Documentation/diff-options.txt |  2 +
 diff.c                         | 88 ++++++++++++++++++++++++++----------------
 t/t4015-diff-whitespace.sh     | 74 ++++++++++++++++++++++++++---------
 4 files changed, 118 insertions(+), 52 deletions(-)
Signature · 1 line
2.10.1-510-g1ef781f2c1