aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/diff-highlight/README
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2025-09-16 13:36:50 -0700
committerJunio C Hamano <gitster@pobox.com>2025-09-16 13:36:50 -0700
commite335ff31f70aefc91991063cdc05967096bb1be3 (patch)
tree57afc99df17a39dddd5e04369347d3024ba7e085 /contrib/diff-highlight/README
parentc44beea485f0f2feaf460e2ac87fdd5608d63cf0 (diff)
parent1092cd6435642808c3e921f0c3c4a7588cc455e6 (diff)
downloadgit-e335ff31f70aefc91991063cdc05967096bb1be3.tar.gz
Merge branch 'jk/add-i-color' into jk/color-variable-fixes
* jk/add-i-color: contrib/diff-highlight: mention interactive.diffFilter add-interactive: manually fall back color config to color.ui add-interactive: respect color.diff for diff coloring stash: pass --no-color to diff plumbing child processes
Diffstat (limited to 'contrib/diff-highlight/README')
-rw-r--r--contrib/diff-highlight/README8
1 files changed, 8 insertions, 0 deletions
diff --git a/contrib/diff-highlight/README b/contrib/diff-highlight/README
index d4c2343175..1db4440e68 100644
--- a/contrib/diff-highlight/README
+++ b/contrib/diff-highlight/README
@@ -58,6 +58,14 @@ following in your git configuration:
diff = diff-highlight | less
---------------------------------------------
+If you use the interactive patch mode of `git add -p`, `git checkout
+-p`, etc, you may also want to configure it to be used there:
+
+---------------------------------------------
+[interactive]
+ diffFilter = diff-highlight
+---------------------------------------------
+
Color Config
------------