Repository navigation
feat(conflict): merge a change's heads, recording conflicts as statements - #91
Open
PiquelChips wants to merge 1 commit into
Open
PiquelChips wants to merge 1 commit into
PiquelChips wants to merge 1 commit into
Conversation
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 34 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
PiquelChips
force-pushed
the
feat/land-conflicts
branch
from
November 22, 2026 18:54
57371e8 to
4c8588c
Compare
…ents `converge` ended a change's divergence by keeping one head's files and dropping every other head's work. It now merges the heads' files, file by file, from the newest revision they all evolve from (`Ancestry`). Where heads changed the same text file, it holds each version between conflict markers; a binary file keeps the working copy's side. The markers are only an editing aid: origin never scans files for them. A conflict is explicit state instead. The merge issues a `core.conflict` statement about the new revision, from its author, listing each conflicted path and the exact entry written there (`Conflicts`). A path stays unresolved while a revision still has that entry: editing the file resolves it, whatever it then holds, and so does the new `origin resolve <path>...`, which accepts it as it is. Every operation that makes a revision (a snapshot, `describe`, `new`, `abandon`, `converge`, `resolve`) carries the unresolved paths forward in a `core.conflict` of its own. The statement is written before the revision, so nothing can find the revision without its conflicts, even after a crash. A conflict list whose payload is missing fails rather than read as no conflicts. `status` lists the paths left.
PiquelChips
force-pushed
the
feat/land-conflicts
branch
from
November 22, 2026 19:20
4c8588c to
cb40e96
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
convergeended a change's divergence by keeping one head's files and dropping every other head's work. It now merges the heads' files, file by file, from the newest revision they all evolve from. Where heads changed the same text file, the file holds each version between conflict markers, and a binary file keeps one side.Conflicts are explicit state:
core.conflictstatement about the new revision, listing each conflicted path and the exact content written there.origin resolve <path>….describe,new,abandon,converge,resolve) carries unresolved paths forward.statuslists the paths left. Past the first head, the markers label our sidemerged heads, since it holds every head merged so far.Note
Written by Claude Opus 5.5 in Claude Code (via T3 Code)