userdiff: support new keywords in PHP hunk header
[gitweb.git] / t / t0410-partial-clone.sh
index cc18b75c03880eb9018b0d37aa9a26f7964dcee7..4984ca583d03a7cc0a6fb9323799e776eee4565b 100755 (executable)
@@ -23,7 +23,15 @@ promise_and_delete () {
        delete_object repo "$HASH"
 }
 
+test_expect_success 'extensions.partialclone without filter' '
+       test_create_repo server &&
+       git clone --filter="blob:none" "file://$(pwd)/server" client &&
+       git -C client config --unset core.partialclonefilter &&
+       git -C client fetch origin
+'
+
 test_expect_success 'missing reflog object, but promised by a commit, passes fsck' '
+       rm -rf repo &&
        test_create_repo repo &&
        test_commit -C repo my_commit &&