Merge branch 'tb/log-G-binary'
commitecdc7cbbac04241f1e5a90fb1fff13cff2ed7a82
authorJunio C Hamano <gitster@pobox.com>
Mon, 14 Jan 2019 23:29:31 +0000 (14 15:29 -0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 14 Jan 2019 23:29:31 +0000 (14 15:29 -0800)
tree865b4149a211b52800c1051950633790b7c9be26
parent932b867be0cec606ec7355fc25de13ace42f4c71
parente0e7cb8080cb4a0b3a24f288bf363fe517b49790
Merge branch 'tb/log-G-binary'

"git log -G<regex>" looked for a hunk in the "git log -p" patch
output that contained a string that matches the given pattern.
Optimize this code to ignore binary files, which by default will
not show any hunk that would match any pattern (unless textconv or
the --text option is in effect, that is).

* tb/log-G-binary:
  log -G: ignore binary files
diffcore-pickaxe.c