logoalt Hacker News

orbisvicisyesterday at 9:25 AM1 replyview on HN

It's still possible for two commits to conflict only semantically, one obsoleting the other. Merging both would lead to dead code so perhaps stricter (line-base or ast-based) conflicts would be preferable.


Replies

rs545837yesterday at 9:32 AM

You're right, that's a real risk, weave runs post-merge validation for exactly this, it checks entity dependencies after merge, so if one side obsoletes what the other side depends on, it warns you even when the textual merge is clean