Repository navigation
Replies: 1 comment
|
Thank you for spelling out the delete-versus-call and rename-versus-edit cases. They give the merge-compatibility proposal concrete boundaries. I’ll follow up on the design alongside #3165; this acknowledgment does not establish a merge-safety guarantee or a new tool contract. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
The situation. Two PRs can merge cleanly as text and still break each other: one deletes a function the other starts calling, one renames what the other edits.
git mergeis happy; the build is not.Proposal. A
merge_checktool over a base and two targets (it needs the three-way comparison from #3165):{ "base_project": "repo-main", "target_projects": ["pr-a", "pr-b"] }Reports, from the graph:
Findings carry the two locations, so an agent or a person can go straight to them. It is a pre-flight, not a replacement for the merge.
Alternatives considered. Trial-merging and building. Exact, and slow, and it needs a working toolchain for every language in the repo.
All reactions