"brian m. carlson" <sandals@xxxxxxxxxxxxxxxxxxxx> writes: > +test_expect_success 'clone with GIT_DEFAULT_HASH' ' > + ( > + sane_unset GIT_DEFAULT_HASH && > + git init --object-format=sha1 test-sha1 && > + git init --object-format=sha256 test-sha256 > + ) && > + test_commit -C test-sha1 foo && > + test_commit -C test-sha256 foo && Unfortunately, the 'foo' commit is created in test-sha1, but the next step to create 'foo' in test-sha256 fails with fatal: unknown repository extensions found: objectformat > + GIT_DEFAULT_HASH=sha1 git clone test-sha256 test-clone-sha256 && > + GIT_DEFAULT_HASH=sha256 git clone test-sha1 test-clone-sha1 && > + git -C test-clone-sha1 status && > + git -C test-clone-sha256 status > +' > + > partial_clone_server () { > SERVER="$1" && >