Re: [PATCH] push: disable lazy --force-with-lease by default
- From
Stefan Beller <sbeller@google.com>
- Date
- Jul 6, 2017, 22:42 UTC
- Message-ID
- <CAGZ79kbkO8w+VFqCChe5O8TdkzK6xMB+0LEzWpJntxovf-3_xA@mail.gmail.com>
- In-Reply-To
- <xmqqk23ldwbv.fsf@gitster.mtv.corp.google.com>
On Thu, Jul 6, 2017 at 3:39 PM, Junio C Hamano <gitster@pobox.com> wrote:
Show 13 quoted lines
>>> @@ -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.