contrib/diff-highlight: mention interactive.diffFilter

When the README for diff-highlight was written, there was no way to trigger it for the `add -p` interactive patch mode. We've since grown a feature to support that, but it was documented only on the Git side. Let's also let people coming the other direction, from diff-highlight, know that it's an option. Suggested-by: Isaac Oscar Gariano <IsaacOscar@live.com.au> Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Jeff King committed Sep 8, 2025 at 12:42 UTC 1092cd6435642808c3e921f0c3c4a7588cc455e6
1 file changed +8
contrib/diff-highlight/README
+8
@@ -58,6 +58,14 @@ following in your git configuration:
58 diff = diff-highlight | less
59 ---------------------------------------------
60
61 +If you use the interactive patch mode of `git add -p`, `git checkout
62 +-p`, etc, you may also want to configure it to be used there:
63 +
64 +---------------------------------------------
65 +[interactive]
66 + diffFilter = diff-highlight
67 +---------------------------------------------
68 +
69
70 Color Config
71 ------------