t7810-grep: test multiple --author with --all-match

The "--all-match" option is about "--grep", and does not affect how "--author" or "--committer" limitation is applied. Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Michael J Gruber committed Sep 14, 2012 at 11:46 UTC 00f62a64d489592c97f6f171f9a19fdda530f3c5
1 file changed +8
t/t7810-grep.sh
+8
@@ -513,6 +513,14 @@ test_expect_success 'log with multiple --author uses union' '
513 test_cmp expect actual
514 '
515
516 +test_expect_success 'log --all-match with multiple --author still uses union' '
517 + git log --all-match --author="Thor" --author="Aster" --format=%s >actual &&
518 + {
519 + echo third && echo second && echo initial
520 + } >expect &&
521 + test_cmp expect actual
522 +'
523 +
524 test_expect_success 'log with --grep and multiple --author uses all-match' '
525 git log --author="Thor" --author="Night" --grep=i --format=%s >actual &&
526 {