Aha, you are right: https://github.com/git/git/blob/master/color.c#L179