author | Junio C Hamano <junkio@cox.net> | |
Wed, 20 Sep 2006 20:21:56 +0000 (13:21 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Wed, 20 Sep 2006 20:21:56 +0000 (13:21 -0700) | ||
commit | 2d10c555374df257e32848ba6f77fd73d608645f | |
tree | a7f79460ed2f1fad1cd87694b9d80b23219eb669 | tree | snapshot |
parent | 480c1ca6fd8df58a783e231648b489ed2bfd17f1 | commit | diff |
git log: Unify header_filter and message_filter into one.
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: Junio C Hamano <junkio@cox.net>
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: Junio C Hamano <junkio@cox.net>
builtin-rev-list.c | diff | blob | history | |
revision.c | diff | blob | history | |
revision.h | diff | blob | history |