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(-) -- 2.43.GIT