jj-diffconflicts icon indicating copy to clipboard operation
jj-diffconflicts copied to clipboard

How to delete a file?

Open marcinjahn opened this issue 8 months ago • 1 comments

There are cases where one side of the conflict modified some file, while the other side completely removed the file. How to take the removal as the outcome?

marcinjahn avatar May 12 '25 06:05 marcinjahn

It's not currently possible to do so from within jj-diffconflicts. By design, it works solely off the materialized conflict markers, and there is currently no way to distinguish between a deleted file and an empty file. Issue https://github.com/jj-vcs/jj/issues/5496 mentions the idea of representing deleted files in conflicts markers, so maybe this will be possible in the future.

rafikdraoui avatar May 19 '25 18:05 rafikdraoui