JJ conflict format #7610
-
Hi, general question. I remember some time ago I looked at a conflicted change and saw a default README.md that explains this is a conflict, and two repo roots that contained the conflicted versions. However, looking at a conflicted change now, I don't see this structure. Do I remember wrong, or was it changed recently? (It came up when I was explaining collaborative conflict resolution to a colleague and I wanted to show this, but couldn't find it...). |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Since
The
This is just an implementation detail, so it's only visible when inspecting a conflicted commit using |
Beta Was this translation helpful? Give feedback.
Since
jj
uses Git as its backend, it needs to store conflicts in Git as well. But Git doesn't support committing conflicts, so they're stored as commits that contain files like this:The
.jjconflict-*
directories contain the different sides and bases of the conflict, and theREADME
explains: