Re: [PATCH v2 4/5] tests: avoid variations of the `master` branch name
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Sep 21, 2020, 22:31 UTC
- Message-ID
- <xmqq4knqep8t.fsf@gitster.c.googlers.com>
- In-Reply-To
- <8f59e19b9562f2673c4fab5509ad8e8e2d48c19c.1600725687.git.gitgitgadget@gmail.com>
"Johannes Schindelin via GitGitGadget" <gitgitgadget@gmail.com> writes:
Show 10 quoted lines
> diff --git a/t/t3427-rebase-subtree.sh b/t/t3427-rebase-subtree.sh
> index 79e43a370b..ba27e9d603 100755
> --- a/t/t3427-rebase-subtree.sh
> +++ b/t/t3427-rebase-subtree.sh
> @@ -15,12 +15,12 @@ commit_message() {
> # this test script tries to document them. First, the following commit history
> # is generated (the onelines are shown, time flows from left to right):
> #
> -# master1 - master2 - master3
> +# main1 - main2 - main3The improvement between v1 and v2 made to t3200 (the previous step) would equally apply here, no? IOW, master1 didn't have to have a name derived from master but could just have been called topic-1. So replacing master[0-9] with topoic[0-9] may be more appropriate here.