Merge branch 'hm/paint-hits-in-log-grep'
commitb93d7206919e9eac22b3ca0291bce8da65960595
authorJunio C Hamano <gitster@pobox.com>
Mon, 1 Nov 2021 20:48:08 +0000 (1 13:48 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 1 Nov 2021 20:48:08 +0000 (1 13:48 -0700)
tree1fb405da58548ea2246aa833630706a9ab9bf928
parent7e27bd589d328b9daf154c2444d1a86ec3afedb0
parentae39ba431ab861548eb60b4bd2e1d8b8813db76f
Merge branch 'hm/paint-hits-in-log-grep'

"git log --grep=string --author=name" learns to highlight hits just
like "git grep string" does.

* hm/paint-hits-in-log-grep:
  grep/pcre2: fix an edge case concerning ascii patterns and UTF-8 data
  pretty: colorize pattern matches in commit messages
  grep: refactor next_match() and match_one_pattern() for external use
Documentation/config/color.txt
grep.h
pretty.c
t/t4202-log.sh