• Junio C Hamano's avatar
    git log: Unify header_filter and message_filter into one. · 2d10c555
    Junio C Hamano authored
    Now we can tell the built-in grep to grep only in head or in
    body, use that to update --author, --committer, and --grep.
    Unfortunately, to make --and, --not and other grep boolean
    expressions useful, as in:
    	# Things written by Junio committed and by Linus and log
    	# does not talk about diff.
    	git log --author=Junio --and --committer=Linus \
    		--grep-not --grep=diff
    we will need to do another round of built-in grep core
    enhancement, because grep boolean expressions are designed to
    work on one line at a time.
    Signed-off-by: default avatarJunio C Hamano <[email protected]>
revision.h 2.92 KB