Junio C Hamano <gitster@xxxxxxxxx> writes: > Lénaïc Huard <lenaic@xxxxxxxxx> writes: > >> git-grep shares a lot of options with the standard grep tool. >> Like GNU grep, it has coloring options to highlight the matching text. >> And like it, it has options to customize the various colored parts. >> >> This patch updates the default git-grep colors to make them match the >> GNU grep default ones [1]. >> >> It was possible to get the same result by setting the various `color.grep.<slot>` >> options, but this patch makes `git grep --color` share the same color scheme as >> `grep --color` by default without any user configuration. > > I am not a huge fan of adjusting our defaults to other people's > default, since it will lead do an inevitable "Why don't they adjust > to match ours?" question, plus "We've been happily using the default > coloring, and you suddenly changed it to something ugly. We want our > color back and we do not care that now you match what GNU does". > > The UI color choice is so personal, which does not help us either. > > Having said that, I'll keep an eye on what others say on this > thread. It's been a bit more than a week and it seems nobody else is interested in supporting this change [*1*]. Whether we want this change or not, I just noticed that the real patch [1/1] has no commit log message, and most of what is in the above "cover letter" would would make a good material for the log message. Perhaps we'd want to redo the log message if it turns out that we want to take this change. Thanks. [Footnote] *1* "Nobody is against" is not even an argument, by the way. If we took changes only because they see no objection, we will force reviewers to shoot down all nonsense changes and wear them down. The default for any new change is "not to apply" until it turns out that it is beneficial.