git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] t3404: do not depend on any specific default branch name

From
Junio C Hamano <gitster@pobox.com>
Date
Nov 24, 2020, 21:16 UTC
Message-ID
<xmqqv9duihfp.fsf@gitster.c.googlers.com>
In-Reply-To
<pull.798.git.1606212950283.gitgitgadget@gmail.com>

"Johannes Schindelin via GitGitGadget" <gitgitgadget@gmail.com> writes:

Show 8 quoted lines
> From: Johannes Schindelin <johannes.schindelin@gmx.de>
>
> Now that we can override the default branch name in the tests via
> `GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME`, we should avoid expecting a
> particular hard-coded name.
>
> So let's rename the initial branch immediately to `primary` and work
> with that.

Yes, that is probably the approach that gives us the most stable environment to work in. I like it.

>     Applying this patch would obsolete the change in 
>     js/default-branch-name-tests-final-stretch to force the default branch
>     name to master in t3404.

Yup, after taking these individual replacement patches, I expect that the big topic will see shrinkage, which is good.

Will queue.  Thanks.
Previous: Johannes Schindelin via GitGitGadget
Message 2 of 2 in “t3404: do not depend on any specific default branch name”
  1. t3404: do not depend on any specific default branch nameJohannes Schindelin via GitGitGadget, Nov 24, 2020
  2. Junio C HamanoNov 24, 2020

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.