revisions: allow --glob and friends in parse_options-enabled commands
[gitweb.git] / t / t4203-mailmap.sh
index a267d0734d7d94d66443475b4d8e220b0286e47a..e818de6ddd904378265cb11f2d48075cda474f5f 100755 (executable)
@@ -114,7 +114,7 @@ test_expect_success 'name entry after email entry' '
        mkdir -p internal_mailmap &&
        echo "<bugs@company.xy> <bugs@company.xx>" >internal_mailmap/.mailmap &&
        echo "Internal Guy <bugs@company.xx>" >>internal_mailmap/.mailmap &&
-       git shortlog >actual &&
+       git shortlog HEAD >actual &&
        test_cmp expect actual
 '
 
@@ -131,7 +131,7 @@ test_expect_success 'name entry after email entry, case-insensitive' '
        mkdir -p internal_mailmap &&
        echo "<bugs@company.xy> <bugs@company.xx>" >internal_mailmap/.mailmap &&
        echo "Internal Guy <BUGS@Company.xx>" >>internal_mailmap/.mailmap &&
-       git shortlog >actual &&
+       git shortlog HEAD >actual &&
        test_cmp expect actual
 '