aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/diff-highlight
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2025-09-23 11:53:40 -0700
committerJunio C Hamano <gitster@pobox.com>2025-09-23 11:53:40 -0700
commit2e8d7569eae06a7e5052d08c2697b0f1281be9da (patch)
treea700bcbb594b7a791319c6a776d00fa93ca82abf /contrib/diff-highlight
parentMerge branch 'cc/promisor-remote-capability' (diff)
parentcontrib/diff-highlight: mention interactive.diffFilter (diff)
downloadgit-2e8d7569eae06a7e5052d08c2697b0f1281be9da.tar.gz
git-2e8d7569eae06a7e5052d08c2697b0f1281be9da.zip
Merge branch 'jk/add-i-color'
Some among "git add -p" and friends ignored color.diff and/or color.ui configuration variables, which is an old regression, which has been corrected. * 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')
-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
------------