On Thu, Jul 6, 2017 at 3:39 PM, Junio C Hamano <gitster@xxxxxxxxx> wrote: >>> @@ -91,6 +91,7 @@ test_expect_success 'push to update (allowed)' ' >>> ( >>> cd dst && >>> test_commit D && >>> + git config push.allowLazyForceWithLease false && >> >> Here I thought >> >> test_config -C dst ... >> >> at the beginning might be useful, though .. > > I did not think test_config would work inside a subshell. It does not, it would need to be done outside the ( ), which is a bit subtle.