From: Junio C Hamano Date: Thu, 28 Sep 2006 00:50:52 +0000 (-0700) Subject: grep --all-match X-Git-Tag: v1.4.4-rc1~86^2~1 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/0ab7befa31d07fe3ffb51a6cc626d4c09ded1c92?ds=sidebyside;hp=0ab7befa31d07fe3ffb51a6cc626d4c09ded1c92 grep --all-match This lets you say: git grep --all-match -e A -e B -e C to find lines that match A or B or C but limit the matches from the files that have all of A, B and C. This is different from git grep -e A --and -e B --and -e C in that the latter looks for a single line that has all of these at the same time. Signed-off-by: Junio C Hamano ---