add -i (built-in): use correct names to load color.diff.* config
authorJohannes Schindelin <redacted>
Wed, 11 Nov 2020 12:28:19 +0000 (12:28 +0000)
committerJunio C Hamano <redacted>
Wed, 11 Nov 2020 17:07:53 +0000 (09:07 -0800)
commit25d9e5ccba3fbcdb4109b6b2b2a7e721b0af6d77
tree1ef025c1ed3794ee64fcb10d3c240c0fd4b96859
parentc62cd1720f5c9cf57955a78576ba7e862b7352e6
add -i (built-in): use correct names to load color.diff.* config

The builtin version of add-interactive mistakenly loads diff colors from
color.interactive.* instead of color.diff.*. It also accidentally spells
`frag` as `fraginfo`.

Let's fix that.

Note also that we don't respect the historical `diff.color.*`. The perl
version never did, and those have been deprecated since 2007.

Reported-by: Philippe Blain <redacted>
Co-authored-by: Jeff King <redacted>
Signed-off-by: Johannes Schindelin <redacted>
Signed-off-by: Junio C Hamano <redacted>
add-interactive.c
git clone https://git.99rst.org/PROJECT