From: Elijah Newren via GitGitGadget Date: Thu, 06 Mar 2025 15:30:25 GMT Subject: [PATCH 0/2] merge-ort: fix a crash in process_renames for a file transitively renamed to itself Message-ID: Maintainer note: this is not a recent regression; it need not be included in v2.49.0. This is a follow-up to Dmitry's report of a case where both merge-ort and merge-recursive fail to properly handle a very specific type of conflict. See https://lore.kernel.org/git/20240921024533.15249-2-dgoncharov@users.sf.net/ for the earlier thread; the first patch is an adaptation of his demonstrating the issue, and the second patch is my fix for it. Dmitry Goncharov (1): t6423: add a testcase causing a failed assertion in process_renames Elijah Newren (1): merge-ort: fix slightly overzealous assertion for rename-to-self merge-ort.c | 3 ++- t/t6423-merge-rename-directories.sh | 41 +++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+), 1 deletion(-) base-commit: f93ff170b93a1782659637824b25923245ac9dd1 Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-1873%2Fnewren%2Fendit-fix-funny-rename-v1 Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-1873/newren/endit-fix-funny-rename-v1 Pull-Request: https://github.com/gitgitgadget/git/pull/1873 -- gitgitgadget