color.c: alias RGB colors 8-15 to aixterm colors
authorEyal Soha <redacted>
Tue, 21 Jan 2020 16:56:23 +0000 (08:56 -0800)
committerJunio C Hamano <redacted>
Tue, 11 Feb 2020 19:19:00 +0000 (11:19 -0800)
commitc444f032e43611b95612882cd06380866f8da0fd
tree032e6e5662f95a069abc4a320cc561d9abeb5912
parent1751b09a92e176b164a3c5527f0458d5b1154d00
color.c: alias RGB colors 8-15 to aixterm colors

This results in shorter output, and is _probably_ more portable. There
is at least one environment (GitHub Actions) which supports 16-color
mode but not 256-color mode. It's possible there are environments
which go the other way, but it seems unlikely.

Signed-off-by: Eyal Soha <redacted>
Signed-off-by: Junio C Hamano <redacted>
color.c
t/t4026-color.sh
git clone https://git.99rst.org/PROJECT