Fourth batch
[gitweb.git] / t / t0410-partial-clone.sh
index 2498e72a3412da9bc22f27e33df7d2380e62ad5e..d4b7e535ea134569ed8bf5643edf8d435a22bc1a 100755 (executable)
@@ -282,7 +282,7 @@ test_expect_success 'rev-list stops traversal at missing and promised commit' '
 
        git -C repo config core.repositoryformatversion 1 &&
        git -C repo config extensions.partialclone "arbitrary string" &&
-       GIT_TEST_COMMIT_GRAPH=0 git -C repo rev-list --exclude-promisor-objects --objects bar >out &&
+       GIT_TEST_COMMIT_GRAPH=0 git -C repo -c core.commitGraph=false rev-list --exclude-promisor-objects --objects bar >out &&
        grep $(git -C repo rev-parse bar) out &&
        ! grep $FOO out
 '
@@ -567,4 +567,7 @@ test_expect_success 'fetching of missing objects from an HTTP server' '
        grep "$HASH" out
 '
 
+# DO NOT add non-httpd-specific tests here, because the last part of this
+# test script is only executed when httpd is available and enabled.
+
 test_done