t5515: use `main` as the name of the main branch for testing (part 3)
commit70bc132c96846a2fe96b9674055338892d71bbb5
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Mon, 2 Nov 2020 23:55:06 +0000 (2 23:55 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 3 Nov 2020 00:40:58 +0000 (2 16:40 -0800)
tree7c7eb88be4e98ff04b109a188de6a4dfaced045c
parent384e08ddf32700060d90a8b720b4a9088d9546de
t5515: use `main` as the name of the main branch for testing (part 3)

In the previous two commits, We just started preparing the `t5515` script
and part of `t/t5515/` for the upcoming change of the default
branch name to `main`. This patch adjusts the remainder of the supporting
material in `t/t5515/` (the patch adjusting all of `t/t5515/` would have
weighed more than 100kB and therefore not made it to the Git mailing
list for review).

Similar to what we did for the `t5515` script itself in the previous
commit, this patch was generated via:

    sed -i -e 's/master/main/g' -e 's/Master/Main/g' \
        -e 's/6c9dec2b923228c9ff994c6cfe4ae16c12408dc5/ecf3b3627b498bdcb735cc4343bf165f76964e9a/g' \
-e 's/8521c3072461fcfe8f32d67f95cc6e6b832a2db2fa29769ffc788bce85ebcd75/fff666109892bb4b1c80cd1649d2d8762a0663db8b5d46c8be98360b64fbba5f/g' \
-e 's/754b754407bf032e9a2f9d5a9ad05ca79a6b228f/b4ab76b1a01ea602209932134a44f1e6bd610832/g' \
-e 's/6c7abaea8a6d8ef4d89877e68462758dc6774690fbbbb0e6d7dd57415c9abde0/380ebae0113f877ce46fcdf39d5bc33e4dc0928db5c5a4d5fdc78381c4d55ae3/g' \
-- t/t5515/refs.*

In addition to that, we need to adjust some file _names_ in `t/t5515/`
because they encode the branch name:

    eval "$(git ls-files t/t5515/refs.\* | sed -n \
-e 's/\(.*\)master\(.*\)/git mv & \1main\2;/p')"

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
77 files changed:
t/t5515/refs.br-branches-default
t/t5515/refs.br-branches-default-merge
t/t5515/refs.br-branches-default-merge_branches-default
t/t5515/refs.br-branches-default-octopus
t/t5515/refs.br-branches-default-octopus_branches-default
t/t5515/refs.br-branches-default_branches-default
t/t5515/refs.br-branches-one
t/t5515/refs.br-branches-one-merge
t/t5515/refs.br-branches-one-merge_branches-one
t/t5515/refs.br-branches-one-octopus
t/t5515/refs.br-branches-one-octopus_branches-one
t/t5515/refs.br-branches-one_branches-one
t/t5515/refs.br-config-explicit
t/t5515/refs.br-config-explicit-merge
t/t5515/refs.br-config-explicit-merge_config-explicit
t/t5515/refs.br-config-explicit-octopus
t/t5515/refs.br-config-explicit-octopus_config-explicit
t/t5515/refs.br-config-explicit_config-explicit
t/t5515/refs.br-config-glob
t/t5515/refs.br-config-glob-merge
t/t5515/refs.br-config-glob-merge_config-glob
t/t5515/refs.br-config-glob-octopus
t/t5515/refs.br-config-glob-octopus_config-glob
t/t5515/refs.br-config-glob_config-glob
t/t5515/refs.br-remote-explicit
t/t5515/refs.br-remote-explicit-merge
t/t5515/refs.br-remote-explicit-merge_remote-explicit
t/t5515/refs.br-remote-explicit-octopus
t/t5515/refs.br-remote-explicit-octopus_remote-explicit
t/t5515/refs.br-remote-explicit_remote-explicit
t/t5515/refs.br-remote-glob
t/t5515/refs.br-remote-glob-merge
t/t5515/refs.br-remote-glob-merge_remote-glob
t/t5515/refs.br-remote-glob-octopus
t/t5515/refs.br-remote-glob-octopus_remote-glob
t/t5515/refs.br-remote-glob_remote-glob
t/t5515/refs.br-unconfig
t/t5515/refs.br-unconfig_--tags_.._.git
t/t5515/refs.br-unconfig_.._.git
t/t5515/refs.br-unconfig_.._.git_one
t/t5515/refs.br-unconfig_.._.git_one_tag_tag-one_tag_tag-three-file
t/t5515/refs.br-unconfig_.._.git_one_two
t/t5515/refs.br-unconfig_.._.git_tag_tag-one-tree_tag_tag-three-file
t/t5515/refs.br-unconfig_.._.git_tag_tag-one_tag_tag-three
t/t5515/refs.br-unconfig_branches-default
t/t5515/refs.br-unconfig_branches-one
t/t5515/refs.br-unconfig_config-explicit
t/t5515/refs.br-unconfig_config-glob
t/t5515/refs.br-unconfig_remote-explicit
t/t5515/refs.br-unconfig_remote-glob
t/t5515/refs.main [copied from t/t5515/refs.br-unconfig with 81% similarity]
t/t5515/refs.main_--tags_.._.git [copied from t/t5515/refs.br-unconfig with 81% similarity]
t/t5515/refs.main_.._.git [moved from t/t5515/refs.master_.._.git with 79% similarity]
t/t5515/refs.main_.._.git_one [copied from t/t5515/refs.br-unconfig_.._.git with 79% similarity]
t/t5515/refs.main_.._.git_one_tag_tag-one_tag_tag-three-file [copied from t/t5515/refs.br-unconfig with 81% similarity]
t/t5515/refs.main_.._.git_one_two [copied from t/t5515/refs.br-unconfig_.._.git with 79% similarity]
t/t5515/refs.main_.._.git_tag_tag-one-tree_tag_tag-three-file [copied from t/t5515/refs.br-unconfig with 81% similarity]
t/t5515/refs.main_.._.git_tag_tag-one_tag_tag-three [copied from t/t5515/refs.br-unconfig with 81% similarity]
t/t5515/refs.main_branches-default [copied from t/t5515/refs.br-branches-default with 74% similarity]
t/t5515/refs.main_branches-one [copied from t/t5515/refs.br-branches-one with 83% similarity]
t/t5515/refs.main_config-explicit [copied from t/t5515/refs.br-config-explicit with 79% similarity]
t/t5515/refs.main_config-glob [copied from t/t5515/refs.br-config-explicit with 79% similarity]
t/t5515/refs.main_remote-explicit [copied from t/t5515/refs.br-config-explicit with 79% similarity]
t/t5515/refs.main_remote-glob [copied from t/t5515/refs.br-config-explicit with 79% similarity]
t/t5515/refs.master [deleted file]
t/t5515/refs.master_--tags_.._.git [deleted file]
t/t5515/refs.master_.._.git_one [deleted file]
t/t5515/refs.master_.._.git_one_tag_tag-one_tag_tag-three-file [deleted file]
t/t5515/refs.master_.._.git_one_two [deleted file]
t/t5515/refs.master_.._.git_tag_tag-one-tree_tag_tag-three-file [deleted file]
t/t5515/refs.master_.._.git_tag_tag-one_tag_tag-three [deleted file]
t/t5515/refs.master_branches-default [deleted file]
t/t5515/refs.master_branches-one [deleted file]
t/t5515/refs.master_config-explicit [deleted file]
t/t5515/refs.master_config-glob [deleted file]
t/t5515/refs.master_remote-explicit [deleted file]
t/t5515/refs.master_remote-glob [deleted file]