]> git.ipfire.org Git - thirdparty/git.git/commit
t5703: adjust a test case for the upcoming default branch name
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Fri, 23 Oct 2020 14:00:02 +0000 (14:00 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 23 Oct 2020 15:57:41 +0000 (08:57 -0700)
commit97cf8d50b598105ecc383bec8fd9b8699e7ba51f
tree4f9239f59567dfe1f99fec78e8774b7e829f65ca
parent392ab3d9ff78658b2e456eede3ebeaec9d89197f
t5703: adjust a test case for the upcoming default branch name

We want to rename the default branch name used by `git init` in the near
future, using `main` as the new name.

In preparation for that, we adjust a test case that wants to rename the
default branch to a different name that however has the same length. We
use `none` as that name because it matches the length of `main`.

As this test case cannot possibly pass until the default branch name is
_actually_ changed, we temporarily guard it behind a special-purpose
prereq, until the test suite is fully converted to use that new default
branch name.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5703-upload-pack-ref-in-want.sh