From e3f2f5f9cd9238ae106434278d325eada2719842 Mon Sep 17 00:00:00 2001 From: Eric Sunshine Date: Tue, 24 Jul 2018 17:58:45 -0400 Subject: diff: --color-moved: rename "dimmed_zebra" to "dimmed-zebra" The --color-moved "dimmed_zebra" mode (with an underscore) is an anachronism. Most options and modes are hyphenated. It is more difficult to type and somewhat more difficult to read than those which are hyphenated. Therefore, rename it to "dimmed-zebra", and nominally deprecate "dimmed_zebra". Signed-off-by: Eric Sunshine Reviewed-by: Jonathan Nieder Signed-off-by: Junio C Hamano --- Documentation/diff-options.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Documentation') diff --git a/Documentation/diff-options.txt b/Documentation/diff-options.txt index 743af97b06..cbc05e8a95 100644 --- a/Documentation/diff-options.txt +++ b/Documentation/diff-options.txt @@ -274,10 +274,11 @@ zebra:: painted using either the 'color.diff.{old,new}Moved' color or 'color.diff.{old,new}MovedAlternative'. The change between the two colors indicates that a new block was detected. -dimmed_zebra:: +dimmed-zebra:: Similar to 'zebra', but additional dimming of uninteresting parts of moved code is performed. The bordering lines of two adjacent blocks are considered interesting, the rest is uninteresting. + `dimmed_zebra` is a deprecated synonym. -- --word-diff[=]:: -- cgit v1.3-5-g9baa