Collect merge-related tests to t64xx

The tests for the merge machinery are spread over several places. Collect them into t64xx for simplicity. Some notes: t60[234]*.sh: Merge tests started in t602*, overgrew bisect and remote tracking tests in t6030, t6040, and t6041, and nearly overtook replace tests in t6050. This made picking out relevant tests that I wanted to run in a tighter loop slightly more annoying for years. t303*.sh: These started out as tests for the 'merge-recursive' toplevel command, but did not restrict to that and had lots of overlap with the underlying merge machinery. t7405, t7613: submodule-specific merge logic started out in submodule.c but was moved to merge-recursive.c in commit 18cfc08866 ("submodule.c: move submodule merging to merge-recursive.c", 2018-05-15). Since these tests are about the logic found in the merge machinery, moving these tests to be with the merge tests makes sense. t7607, t7609: Having tests spread all over the place makes it more likely that additional tests related to a certain piece of logic grow in all those other places. Much like t303*.sh, these two tests were about the underlying merge machinery rather than outer levels. Tests that were NOT moved: t76[01]*.sh: Other than the four tests mentioned above, the remaining tests in t76[01]*.sh are related to non-recursive merge strategies, parameter parsing, and other stuff associated with the highlevel builtin/merge.c rather than the recursive merge machinery. t3[45]*.sh: The rebase testcases in t34*.sh also test the merge logic pretty heavily; sometimes changes I make only trigger failures in the rebase tests. The rebase tests are already nicely coupled together, though, and I didn't want to mess that up. Similar comments apply for the cherry-pick tests in t35*.sh. Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Elijah Newren committed Aug 10, 2020 at 22:29 UTC 919df3195553af05c884d51588d12134d8dfab2a
35 files changed
t/t6400-merge-df.sh
similarity index 100% rename from t/t6020-merge-df.sh rename to t/t6400-merge-df.sh
t/t6401-merge-criss-cross.sh
similarity index 100% rename from t/t6021-merge-criss-cross.sh rename to t/t6401-merge-criss-cross.sh
t/t6402-merge-rename.sh
similarity index 100% rename from t/t6022-merge-rename.sh rename to t/t6402-merge-rename.sh
t/t6403-merge-file.sh
similarity index 100% rename from t/t6023-merge-file.sh rename to t/t6403-merge-file.sh
t/t6404-recursive-merge.sh
similarity index 100% rename from t/t6024-recursive-merge.sh rename to t/t6404-recursive-merge.sh
t/t6405-merge-symlinks.sh
similarity index 100% rename from t/t6025-merge-symlinks.sh rename to t/t6405-merge-symlinks.sh
t/t6406-merge-attr.sh
similarity index 100% rename from t/t6026-merge-attr.sh rename to t/t6406-merge-attr.sh
t/t6407-merge-binary.sh
similarity index 100% rename from t/t6027-merge-binary.sh rename to t/t6407-merge-binary.sh
t/t6408-merge-up-to-date.sh
similarity index 100% rename from t/t6028-merge-up-to-date.sh rename to t/t6408-merge-up-to-date.sh
t/t6409-merge-subtree.sh
similarity index 100% rename from t/t6029-merge-subtree.sh rename to t/t6409-merge-subtree.sh
t/t6411-merge-filemode.sh
similarity index 100% rename from t/t6031-merge-filemode.sh rename to t/t6411-merge-filemode.sh
t/t6412-merge-large-rename.sh
similarity index 100% rename from t/t6032-merge-large-rename.sh rename to t/t6412-merge-large-rename.sh
t/t6413-merge-crlf.sh
similarity index 100% rename from t/t6033-merge-crlf.sh rename to t/t6413-merge-crlf.sh
t/t6414-merge-rename-nocruft.sh
similarity index 100% rename from t/t6034-merge-rename-nocruft.sh rename to t/t6414-merge-rename-nocruft.sh
t/t6415-merge-dir-to-symlink.sh
similarity index 100% rename from t/t6035-merge-dir-to-symlink.sh rename to t/t6415-merge-dir-to-symlink.sh
t/t6416-recursive-corner-cases.sh
similarity index 100% rename from t/t6036-recursive-corner-cases.sh rename to t/t6416-recursive-corner-cases.sh
t/t6417-merge-ours-theirs.sh
similarity index 100% rename from t/t6037-merge-ours-theirs.sh rename to t/t6417-merge-ours-theirs.sh
t/t6418-merge-text-auto.sh
similarity index 100% rename from t/t6038-merge-text-auto.sh rename to t/t6418-merge-text-auto.sh
t/t6419-merge-ignorecase.sh
similarity index 100% rename from t/t6039-merge-ignorecase.sh rename to t/t6419-merge-ignorecase.sh
t/t6422-merge-rename-corner-cases.sh
similarity index 100% rename from t/t6042-merge-rename-corner-cases.sh rename to t/t6422-merge-rename-corner-cases.sh
t/t6423-merge-rename-directories.sh
similarity index 100% rename from t/t6043-merge-rename-directories.sh rename to t/t6423-merge-rename-directories.sh
t/t6424-merge-unrelated-index-changes.sh
similarity index 100% rename from t/t6044-merge-unrelated-index-changes.sh rename to t/t6424-merge-unrelated-index-changes.sh
t/t6425-merge-rename-delete.sh
similarity index 100% rename from t/t6045-merge-rename-delete.sh rename to t/t6425-merge-rename-delete.sh
t/t6426-merge-skip-unneeded-updates.sh
similarity index 100% rename from t/t6046-merge-skip-unneeded-updates.sh rename to t/t6426-merge-skip-unneeded-updates.sh
t/t6427-diff3-conflict-markers.sh
similarity index 100% rename from t/t6047-diff3-conflict-markers.sh rename to t/t6427-diff3-conflict-markers.sh
t/t6430-merge-recursive.sh
similarity index 100% rename from t/t3030-merge-recursive.sh rename to t/t6430-merge-recursive.sh
t/t6431-merge-criscross.sh
similarity index 100% rename from t/t3031-merge-criscross.sh rename to t/t6431-merge-criscross.sh
t/t6432-merge-recursive-space-options.sh
similarity index 100% rename from t/t3032-merge-recursive-space-options.sh rename to t/t6432-merge-recursive-space-options.sh
t/t6433-merge-toplevel.sh
similarity index 100% rename from t/t3033-merge-toplevel.sh rename to t/t6433-merge-toplevel.sh
t/t6434-merge-recursive-rename-options.sh
similarity index 100% rename from t/t3034-merge-recursive-rename-options.sh rename to t/t6434-merge-recursive-rename-options.sh
t/t6435-merge-sparse.sh
similarity index 100% rename from t/t3035-merge-sparse.sh rename to t/t6435-merge-sparse.sh
t/t6436-merge-overwrite.sh
similarity index 100% rename from t/t7607-merge-overwrite.sh rename to t/t6436-merge-overwrite.sh
t/t6437-submodule-merge.sh
similarity index 100% rename from t/t7405-submodule-merge.sh rename to t/t6437-submodule-merge.sh
t/t6438-submodule-directory-file-conflicts.sh
similarity index 100% rename from t/t7613-merge-submodule.sh rename to t/t6438-submodule-directory-file-conflicts.sh
t/t6439-merge-co-error-msgs.sh
similarity index 100% rename from t/t7609-merge-co-error-msgs.sh rename to t/t6439-merge-co-error-msgs.sh