color.h: document and modernize header
authorStefan Beller <sbeller@google.com>
Tue, 13 Feb 2018 01:41:30 +0000 (17:41 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 13 Feb 2018 18:17:12 +0000 (10:17 -0800)
Add documentation explaining the functions in color.h.
While at it, migrate the function `color_set` into grep.c,
where the only callers are.

Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found