Merge branch 'tb/grep-only-matching'
authorJunio C Hamano <gitster@pobox.com>
Thu, 2 Aug 2018 22:30:44 +0000 (15:30 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 2 Aug 2018 22:30:44 +0000 (15:30 -0700)
commit87ece7ce1133ebc5d339cad5f6f92c02e5fc712d
tree80a92c51969d8893f56b74a595ab9c260cca1091
parent562413eb2938b7a1aa85a2ae157ef162d51e55dc
parent9d8db06eb4a5d5577db559a0059a377914c1ce5a
Merge branch 'tb/grep-only-matching'

"git grep" learned the "--only-matching" option.

* tb/grep-only-matching:
  grep.c: teach 'git grep --only-matching'
  grep.c: extract show_line_header()
builtin/grep.c
grep.c
grep.h
t/t7810-grep.sh