grep.c: teach 'git grep --only-matching'