Merge branch 'rs/simplify-by-deco-with-deco-refs-exclude'
[git/git.git] / t / t4202-log.sh
index bb66d1d..e803ba4 100755 (executable)
@@ -1722,4 +1722,11 @@ test_expect_success '--exclude-promisor-objects does not BUG-crash' '
        test_must_fail git log --exclude-promisor-objects source-a
 '
 
+test_expect_success 'log --end-of-options' '
+       git update-ref refs/heads/--source HEAD &&
+       git log --end-of-options --source >actual &&
+       git log >expect &&
+       test_cmp expect actual
+'
+
 test_done