On 2026-11-23 at 16:25:16, Junio C Hamano wrote: > "brian m. carlson" writes: > > > +test_expect_success 're-init does not modify hash from config' ' > > + test_when_finished "rm -rf repo" && > > + ( > > + sane_unset GIT_DEFAULT_HASH && > > + for algo in sha1 sha256 > > + do > > + if test "$algo" = sha1 > > + then > > + other=sha256 > > + else > > + other=sha1 > > + fi && > > + git init --object-format="$algo" repo && > > + test_config_global init.defaultObjectFormat "$other" && > > + git init repo && > > + echo "$algo" >expect && > > + git -C repo rev-parse --show-object-format >actual && > > + test_cmp expect actual && > > + rm -fr repo || exit 1 > > + done > > + ) > > +' > > error: bug in the test script: test_when_finished does nothing in a subshell > not ok 62 - re-init does not modify hash from config > > I think it is test_config_global that is getting complained. Perhaps > something along this line would fix it. I'll do a reroll. That only triggers on bash and I use dash as /bin/sh. -- brian m. carlson (they/them) Toronto, Ontario, CA Speaking for myself only