4 ms·
It’s described as a “merge driver for Git”. Is it usable independently of git? Can I use it to diff arbitrary files?
by WalterGR 8mo ago
It’s described as a “merge driver for Git”. Is it usable independently of git? Can I use it to diff arbitrary files?
- rs545837 8mo agoWe got asked this on the X thread too, when we went viral here https://x.com/rs545837/status/2021020365376671820 https://x.com/rs545837/status/2021020365376671820. Your git doesn't change at all. Weave plugs in through git's merge driver interface (.gitattributes), so git still handles everything, it just calls weave for the content merge step instead of its default line-level algorithm. All your git commands, workflow, and history stay exactly the same. For diffing arbitrary files outside git, we built sem (https://github.com/ataraxy-labs/sem https://github.com/ataraxy-labs/sem) which does entity-level diffs. sem diff file1.py file2.py shows you which functions changed, were added, or deleted rather than line-level changes