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

[PATCH 0/4] Directory rename detection testcases and rules

From
Elijah Newren via GitGitGadget <gitgitgadget@gmail.com>
Date
Oct 15, 2020, 20:46 UTC
Message-ID
<pull.879.git.git.1602794790.gitgitgadget@gmail.com>

While testing merge-ort on some real world repositories a little while back, I found some issues with directory rename detection...some of which were issues in the current merge-recursive as well. Also, I found that there was a nice optimization I could use if a new obvious-looking rule was added, though it has one slight side effect to one corner case. Fixing the bugs and implementing the new rules is a bit more involved, so for now this series just updates the rule descriptions and adds or modifies tests to document the various cases.

Elijah Newren (4):
  directory-rename-detection.txt: update references to regression tests
  t6423: more involved directory rename test
  t6423: update directory rename detection tests with new rule
  t6423: more involved rules for renaming directories into each other
 .../technical/directory-rename-detection.txt  |  15 +-
 t/t6423-merge-rename-directories.sh           | 592 ++++++++++++++++--
 2 files changed, 553 insertions(+), 54 deletions(-)
base-commit: d4a392452e292ff924e79ec8458611c0f679d6d4
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-879%2Fnewren%2Fdrd-testcases-and-rules-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-879/newren/drd-testcases-and-rules-v1
Pull-Request: https://github.com/git/git/pull/879
-- 
gitgitgadget
Next: Elijah Newren via GitGitGadget
Message 1 of 6 in “Directory rename detection testcases and rules”
  1. 0/4 Directory rename detection testcases and rulesElijah Newren via GitGitGadget, Oct 15, 2020
  2. 3/4 t6423: update directory rename detection tests with new ruleElijah Newren via GitGitGadget, Oct 15, 2020
  3. 4/4 t6423: more involved rules for renaming directories into each otherElijah Newren via GitGitGadget, Oct 15, 2020
  4. 1/4 directory-rename-detection.txt: update references to regression testsElijah Newren via GitGitGadget, Oct 15, 2020
  5. 2/4 t6423: more involved directory rename testElijah Newren via GitGitGadget, Oct 15, 2020
  6. Eric SunshineOct 15, 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.