New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
merge-ort: fix bug with renormalization and rename/delete conflicts #1174
merge-ort: fix bug with renormalization and rename/delete conflicts #1174
Conversation
/submit |
Submitted as pull.1174.git.git.1640650846612.gitgitgadget@gmail.com To fetch this version into
To fetch this version to local tag
|
On the Git mailing list, Derrick Stolee wrote (reply to this):
|
User |
Ever since commit a492d53 ("merge-ort: ensure we consult df_conflict and path_conflicts", 2021-06-30), when renormalization is active AND a file is involved in a rename/delete conflict BUT the file is unmodified (either before or after renormalization), merge-ort was running into an assertion failure. Prior to that commit (or if assertions were compiled out), merge-ort would mis-merge instead, ignoring the rename/delete conflict and just deleting the file. Remove the assertions, fix the code appropriately, leave some good comments in the code, and add a testcase for this situation. Reported-by: Ralf Thielow <ralf.thielow@gmail.com> Reviewed-by: Derrick Stolee <dstolee@microsoft.com> Signed-off-by: Elijah Newren <newren@gmail.com>
5841f3d
to
72876b9
Compare
/submit |
Submitted as pull.1174.v2.git.git.1640902135926.gitgitgadget@gmail.com To fetch this version into
To fetch this version to local tag
|
On the Git mailing list, Junio C Hamano wrote (reply to this):
|
This branch is now known as |
This patch series was integrated into seen via f5761ec. |
On the Git mailing list, Elijah Newren wrote (reply to this):
|
User |
This patch series was integrated into seen via 69edbf7. |
There was a status update in the "New Topics" section about the branch A corner case bug in the ort merge strategy has been corrected. Will merge to 'next'. source: <pull.1174.git.git.1640650846612.gitgitgadget@gmail.com> |
This patch series was integrated into seen via e25f11a. |
This patch series was integrated into seen via 5ed02b3. |
This patch series was integrated into seen via 942b4c5. |
This patch series was integrated into next via bb81dd4. |
There was a status update in the "Cooking" section about the branch A corner case bug in the ort merge strategy has been corrected. Will merge to 'master'. source: <pull.1174.git.git.1640650846612.gitgitgadget@gmail.com> |
This patch series was integrated into seen via 2c54104. |
This patch series was integrated into next via 2c54104. |
This patch series was integrated into master via 2c54104. |
Closed via 2c54104. |
Original report: https://lore.kernel.org/git/CAN0XMOK8iHZnbtYw7CPAQGJcmuVSDxQoFNFEwiaa41V89F1rzA@mail.gmail.com/
Built in v2.34.1, but rebases onto and/or merges cleanly with newer versions.
Changes since v1:
cc: Derrick Stolee stolee@gmail.com
cc: Elijah Newren newren@gmail.com