]> git.ipfire.org Git - thirdparty/git.git/commit - diff.c
diff: --color-moved: rename "dimmed_zebra" to "dimmed-zebra"
authorEric Sunshine <sunshine@sunshineco.com>
Tue, 24 Jul 2018 21:58:45 +0000 (17:58 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 25 Jul 2018 21:23:52 +0000 (14:23 -0700)
commite3f2f5f9cd9238ae106434278d325eada2719842
tree8959c32d009a921bcb842d06e7c3ebaeb09f49ef
parenta42a58d7b62cc1d6301440e81a83feed9d7c118c
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 <sunshine@sunshineco.com>
Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/diff-options.txt
diff.c
t/t4015-diff-whitespace.sh