http: add support for disabling SSL revocation checks in cURL
[gitweb.git] / t / t6300-for-each-ref.sh
index 48379aa0ee874b0250e2348d47eded09713a0a79..024f8c06f7c58a424204d6fca69021ace2de3cbf 100755 (executable)
@@ -795,4 +795,14 @@ test_expect_success ':remotename and :remoteref' '
        )
 '
 
+test_expect_success 'for-each-ref --ignore-case ignores case' '
+       git for-each-ref --format="%(refname)" refs/heads/MASTER >actual &&
+       test_must_be_empty actual &&
+
+       echo refs/heads/master >expect &&
+       git for-each-ref --format="%(refname)" --ignore-case \
+               refs/heads/MASTER >actual &&
+       test_cmp expect actual
+'
+
 test_done