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

[PATCH 0/4] Adjust t5411 for the upcoming change of the default branch name

From
Johannes Schindelin via GitGitGadget <gitgitgadget@gmail.com>
Date
Oct 27, 2020, 22:58 UTC
Message-ID
<pull.760.git.1603839487.gitgitgadget@gmail.com>

The test script t5411-proc-receive-hook.sh is an interesting case: it not only requires tons of mostly straight-forward changes that amount to an automated search-and-replace, but it also requires a few adjustments due to the change of the default branch name's length.

This patch series is part of the over-all effort tracked in https://github.com/gitgitgadget/git/pull/655.

Johannes Schindelin (4):
  t5411: start using the default branch name "main"
  t5411: start adjusting the support files for init.defaultBranch=main
  t5411: adjust the remaining support files for init.defaultBranch=main
  t5411: finish preparing for `main` being the default branch name
 t/t5411-proc-receive-hook.sh                  |  17 ++-
 t/t5411/common-functions.sh                   |   2 +-
 t/t5411/once-0010-report-status-v1.sh         |  50 ++++----
 t/t5411/test-0000-standard-git-push.sh        |  72 +++++------
 .../test-0001-standard-git-push--porcelain.sh |  72 +++++------
 t/t5411/test-0002-pre-receive-declined.sh     |  12 +-
 ...st-0003-pre-receive-declined--porcelain.sh |  12 +-
 t/t5411/test-0011-no-hook-error.sh            |  38 +++---
 t/t5411/test-0012-no-hook-error--porcelain.sh |  38 +++---
 t/t5411/test-0013-bad-protocol.sh             |  96 +++++++-------
 t/t5411/test-0014-bad-protocol--porcelain.sh  |  70 +++++-----
 t/t5411/test-0020-report-ng.sh                |  40 +++---
 t/t5411/test-0021-report-ng--porcelain.sh     |  40 +++---
 t/t5411/test-0022-report-unexpect-ref.sh      |  36 +++---
 ...est-0023-report-unexpect-ref--porcelain.sh |  36 +++---
 t/t5411/test-0024-report-unknown-ref.sh       |  12 +-
 ...test-0025-report-unknown-ref--porcelain.sh |  12 +-
 t/t5411/test-0026-push-options.sh             |  36 +++---
 t/t5411/test-0027-push-options--porcelain.sh  |  36 +++---
 t/t5411/test-0030-report-ok.sh                |  22 ++--
 t/t5411/test-0031-report-ok--porcelain.sh     |  22 ++--
 t/t5411/test-0032-report-with-options.sh      | 120 +++++++++---------
 ...est-0033-report-with-options--porcelain.sh | 120 +++++++++---------
 t/t5411/test-0034-report-ft.sh                |  30 ++---
 t/t5411/test-0035-report-ft--porcelain.sh     |  30 ++---
 ...t-0036-report-multi-rewrite-for-one-ref.sh |  90 ++++++-------
 ...rt-multi-rewrite-for-one-ref--porcelain.sh |  82 ++++++------
 t/t5411/test-0038-report-mixed-refs.sh        |  40 +++---
 .../test-0039-report-mixed-refs--porcelain.sh |  40 +++---
 t/t5411/test-0040-process-all-refs.sh         |  42 +++---
 .../test-0041-process-all-refs--porcelain.sh  |  42 +++---
 ...t-0050-proc-receive-refs-with-modifiers.sh |  42 +++---
 32 files changed, 726 insertions(+), 723 deletions(-)
base-commit: 3224b0f0bb7bc90c0156e73c58f1d2e770f0ad7c
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-760%2Fdscho%2Fprepare-for-main-branch-t5411-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-760/dscho/prepare-for-main-branch-t5411-v1
Pull-Request: https://github.com/gitgitgadget/git/pull/760
-- 
gitgitgadget
Next: Johannes Schindelin via GitGitGadget
Message 1 of 14 in “Adjust t5411 for the upcoming change of the default branch name”
  1. 0/4 Adjust t5411 for the upcoming change of the default branch nameJohannes Schindelin via GitGitGadget, Oct 27, 2020
  2. 1/4 t5411: start using the default branch name "main"Johannes Schindelin via GitGitGadget, Oct 27, 2020
  3. Junio C HamanoOct 28, 2020
  4. Junio C HamanoOct 28, 2020
  5. Johannes SchindelinOct 30, 2020
  6. Junio C HamanoOct 30, 2020
  7. 4/4 t5411: finish preparing for `main` being the default branch nameJohannes Schindelin via GitGitGadget, Oct 27, 2020
  8. 3/4 t5411: adjust the remaining support files for init.defaultBranch=mainJohannes Schindelin via GitGitGadget, Oct 27, 2020
  9. 2/4 t5411: start adjusting the support files for init.defaultBranch=mainJohannes Schindelin via GitGitGadget, Oct 27, 2020
  10. 0/4 Adjust t5411 for the upcoming change of the default branch nameJohannes Schindelin via GitGitGadget, Oct 31, 2020
  11. 1/4 t5411: start using the default branch name "main"Johannes Schindelin via GitGitGadget, Oct 31, 2020
  12. 4/4 t5411: finish preparing for `main` being the default branch nameJohannes Schindelin via GitGitGadget, Oct 31, 2020
  13. 3/4 t5411: adjust the remaining support files for init.defaultBranch=mainJohannes Schindelin via GitGitGadget, Oct 31, 2020
  14. 2/4 t5411: start adjusting the support files for init.defaultBranch=mainJohannes Schindelin via GitGitGadget, Oct 31, 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.