Skip to content

Support diff.wordDiff config

Karthik Nayak git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2t4034: extract out `diff_with_opts`t/t4034-diff-words.sh+29 -250 replies
2/2diff: add 'diff.wordDiff' config optionDocumentation/config/diff.txt diff.c t/t4034-diff-words.sh+52 -133 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/2] Support diff.wordDiff config

This patch series adds the diff.wordDiff config option. This mimics the '--word-diff' option of git-diff(1).

The first patch is more of a preparatory patch, which makes it easier to add tests when the actual config is added in patch 2.

Karthik Nayak (2):
t4034: extract out diff_with_opts
diff: add 'diff.wordDiff' config option

 Documentation/config/diff.txt |  4 +++
 diff.c                        | 50 +++++++++++++++++++++------
 t/t4034-diff-words.sh         | 63 ++++++++++++++++++++---------------
 3 files changed, 80 insertions(+), 37 deletions(-)
Signature · 1 line
2.43.GIT