Re: [PATCH 3/4] remote-curl: teach --base for http(s)://
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Nov 3, 2020, 01:13 UTC
- Message-ID
- <xmqqd00vp7ic.fsf@gitster.c.googlers.com>
- In-Reply-To
- <d0a996f77689a12a52b192599fd5e6d27192a648.1604362701.git.jonathantanmy@google.com>
Jonathan Tan <jonathantanmy@google.com> writes:
Show 9 quoted lines
> diff --git a/t/t5700-protocol-v1.sh b/t/t5700-protocol-v1.sh > index 22459d37f5..4ee29c1be0 100755 > --- a/t/t5700-protocol-v1.sh > +++ b/t/t5700-protocol-v1.sh > ... > + # Push to another branch, as the target repository has the > + # master branch checked out and we cannot push into it. > + GIT_TRACE_PACKET=1 test_might_fail git -C http_child -c protocol.version=1 \ > + push --base=three origin HEAD:client_branch_four 2>log &&
This attempt to one-shot export GIT_TRACE_PACKET is flagged as an error by test-lint-shell-syntax.
test_might_fail env GIT_TRACE_PACKET=1 \ git -C ... push --base=three ... &&
perhaps?