[PATCH 0/2] Support diff.wordDiff config
- From
Karthik Nayak <karthik.188@gmail.com>
- Date
- Mar 2, 2024, 09:57 UTC
- Message-ID
- <20240302095751.123138-1-karthik.188@gmail.com>
- In-Reply-To
- <a7be415d-5005-4fa7-9b2e-1974b7439a81@schinagl.nl>
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