How does it compare to SemanticDiff extension?
Weave: Merging based on language structure and not lines
21–30 of 51 posts
Re: Weave: Merging based on language structure and not lines
#22I'm working on an online diff tool ( https://codeinput.com/products/merge-conflicts ) and recently added a mergiraf integration. Basically, the tool loads your git merge but uses mergiraf as the resolution driver. Then add these auto-resolved files to the editor instead of auto-resolving directly. I also tried out weave, but apart from TypeScript, I haven't found any cases where it actually outperforms mergiraf (I ru…
For context on where the gap might be: weave matches at the entity level (functions/classes/methods by name + type + scope) and uses structural hashing for rename/reorder detection, so it should shine on reorders, renames, and large same-file edits, and may be at parity elsewhere. If your stream tags conflicts by language and type, comparing where each driver wins would be useful to both of us.
Re: Weave: Merging based on language structure and not lines
#23I think this is a great idea, and I've wondered about something like this before. I do find it sad though that the opening description has to be: > Two agents edit different functions in the same file? Clean merge. Why does EVERYTHING has to be geared towards agents? Humans can use this too. Why not just "two commits contain edits for different functions in the same file?"
Re: Weave: Merging based on language structure and not lines
#24Re: Weave: Merging based on language structure and not lines
#25I think this is a great idea, and I've wondered about something like this before. I do find it sad though that the opening description has to be: > Two agents edit different functions in the same file? Clean merge. Why does EVERYTHING has to be geared towards agents? Humans can use this too. Why not just "two commits contain edits for different functions in the same file?"
Re: Weave: Merging based on language structure and not lines
#26> humans are slow, forgetful, and can only hold a few things in their head at once.
Thank you very much for stating it all up-front.
Re: Weave: Merging based on language structure and not lines
#27First image I see should be a difference of how the merges work.