]> git.ipfire.org Git - thirdparty/git.git/commit
fetch: split out tests for output format
authorPatrick Steinhardt <ps@pks.im>
Wed, 10 May 2023 12:34:07 +0000 (14:34 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 10 May 2023 17:35:24 +0000 (10:35 -0700)
commit2c5691d6cff083ebbd9207d1b518998d448f73f9
tree0e85da47897a74232aead1d8269b73cfd4924bd7
parent5667141e3b2a5a9f983882df3a3b1f481ce9be88
fetch: split out tests for output format

We're about to introduce a new porcelain mode for the output of
git-fetch(1). As part of that we'll be introducing a set of new tests
that only relate to the output of this command.

Split out tests that exercise the output format of git-fetch(1) so that
it becomes easier to verify this functionality as a standalone unit. As
the tests assume that the default branch is called "main" we set up the
corresponding GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME environment variable
accordingly.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5510-fetch.sh
t/t5574-fetch-output.sh [new file with mode: 0755]