Use promisor_remote_get_direct() and has_promisor_remote()
[gitweb.git] / t / t5616-partial-clone.sh
index b91ef548f86b0e250b8fdcd1b8b764c780218931..8f9a62aac0b9a5cf83eb17e50a16f7690ebf356e 100755 (executable)
@@ -42,7 +42,7 @@ test_expect_success 'do partial clone 1' '
 
        test_cmp expect_1.oids observed.oids &&
        test "$(git -C pc1 config --local core.repositoryformatversion)" = "1" &&
-       test "$(git -C pc1 config --local extensions.partialclone)" = "origin" &&
+       test "$(git -C pc1 config --local remote.origin.promisor)" = "true" &&
        test "$(git -C pc1 config --local core.partialclonefilter)" = "blob:none"
 '