]> git.ipfire.org Git - thirdparty/git.git/commit - grep.c
grep: keep all colors in an array
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Sat, 26 May 2018 13:55:22 +0000 (15:55 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 29 May 2018 05:51:28 +0000 (14:51 +0900)
commitfa151dc54dcf7ff32727d5b6fdf78093185ff1cc
tree52aac5475a1d833ff6dd09dab20f7c715aa2be93
parenta73b3680c4910866e3e215c3927a0c71f0b9229d
grep: keep all colors in an array

This is more inline with how we handle color slots in other code. It
also allows us to get the list of configurable color slots later.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
grep.c
grep.h