Open wetneb opened 7 months ago
Hi @wetneb,
Sorry about the complete blackout in communications here, I've been busy with other things. I don't think there is any good reason to merge this before there's at least a POC of outputting the base revision for the structural merge, but I don't mind leaving the PR open for some time to see if anyone is interested in looking into it.
On that note, I outlined some potential solutions to outputting the base revision in https://github.com/ASSERT-KTH/spork/issues/496#issuecomment-1943668633.
Hi @slarse,
I have a solution that is almost ready, but it surfaced a bug in jgit's own implementation of diff3: https://github.com/eclipse-jgit/jgit/issues/38. This PR is therefore blocked by that bug, for which I have a pending fix: https://eclipse.gerrithub.io/c/eclipse-jgit/jgit/+/1177976. Once this is merged and released, this PR can then go ahead.
Attention: Patch coverage is 87.37864%
with 13 lines
in your changes missing coverage. Please review.
Project coverage is 82.60%. Comparing base (
ba76361
) to head (6d9343a
). Report is 9 commits behind head on master.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
For #496.
I have added test cases (failing) with some intuitive expectations of what I would find useful as a user. I haven't thought super hard about it so I expect some cases might need adjusting.
No idea if it can be implemented, but I guess if someone wants to have a go at this, those changes should be a good start and they would only need to figure out the clever part of the algorithm.