From: Junio C Hamano Date: Mon, 01 Jun 2026 12:33:10 GMT Subject: Re: [PATCH 0/5] Duplicate entry hardening Message-ID: In-Reply-To: "Elijah Newren via GitGitGadget" writes: > We had some corrupt trees with duplicate entries in real world repositories, > which triggered an assertion failure in merge-ort. Further, the corrupt tree > creation in the third party tool would have been avoided had verify_cache() > correctly checked for D/F conflicts. Provide fixes for both issues, > including 3 preparatory changes for the merge-ort fix. > > Elijah Newren (5): > merge-ort: propagate callback errors from traverse_trees_wrapper() > merge-ort: drop unnecessary show_all_errors from collect_merge_info() > merge-ort: free diff pairs queue in clear_or_reinit_internal_opts() > merge-ort: abort merge when trees have duplicate entries > cache-tree: fix verify_cache() to catch non-adjacent D/F conflicts This is a fix to an important corner of our system, but somehow left in "Needs review" state for much longer than I would have liked, so even though I am officially on vacation ;-), I took some time to read these through (by the way it was a pleasant read, thank you). I wonder if we create a rule like Those of you who have more than 30 commits in our project are expected to review one topic (or more) from other contributors for every three patches you send and ask for reviews by others. it would help balance the patch vs review ratio, perhaps?