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>
This commit is contained in:
parent
dfe3642515
commit
00f62a64d4
@ -513,6 +513,14 @@ test_expect_success 'log with multiple --author uses union' '
|
|||||||
test_cmp expect actual
|
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' '
|
test_expect_success 'log with --grep and multiple --author uses all-match' '
|
||||||
git log --author="Thor" --author="Night" --grep=i --format=%s >actual &&
|
git log --author="Thor" --author="Night" --grep=i --format=%s >actual &&
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user