From 8fd93bb87098298677426735dd354fa4f64abc17 Mon Sep 17 00:00:00 2001 From: Michael J Gruber Date: Thu, 13 Sep 2012 14:57:15 +0200 Subject: [PATCH] t7810-grep: test multiple --author with --all-match --all-match is ignored for author matching on purpose. --- t/t7810-grep.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/t/t7810-grep.sh b/t/t7810-grep.sh index 1db3dcb1bf..9bc63a3c2d 100755 --- a/t/t7810-grep.sh +++ b/t/t7810-grep.sh @@ -580,6 +580,14 @@ test_expect_success 'log with multiple --author uses union' ' test_cmp expect actual ' +test_expect_success 'log --all-match with multiple --author still uses union' ' + git log --all-match --author="Thor" --author="Aster" --format=%s >actual && + { + echo third && echo second && echo initial + } >expect && + test_cmp expect actual +' + test_expect_success 'log with --grep and multiple --author uses all-match' ' git log --author="Thor" --author="Night" --grep=i --format=%s >actual && { -- 2.11.4.GIT