Re: [PATCH v3 1/2] transport: warn if server options are unsupported
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Apr 12, 2019, 05:35 UTC
- Message-ID
- <xmqqzhovyee7.fsf@gitster-ct.c.googlers.com>
- In-Reply-To
- <63049081c98b8612bd233a6f01104c6196a09946.1555014408.git.jonathantanmy@google.com>
Jonathan Tan <jonathantanmy@google.com> writes:
> +test_expect_success 'warn if using server-option with ls-remote with legacy protocol' ' > + GIT_TEST_PROTOCOL_VERSION=0 test_must_fail git -c protocol.version=0 \ > + ls-remote -o hello -o world "file://$(pwd)/file_parent" master 2>err &&
test_must_fail is not an executable but is a shell function. Do not expect VAR=VAL in front of it to work as expected.
"make test" triggered test-lint that caught this.