Skip to content

weave v0.1.2

Choose a tag to compare

@rs545837 rs545837 released this 12 Feb 16:40
· 341 commits to main since this release

Fix rename/rename conflict detection.

  • Rename/rename conflicts: when both branches rename the same entity to different names (e.g. Source → Source1 vs Source → BSource), weave now correctly flags this as a conflict instead of silently keeping both versions. New RenameRename conflict kind with clear markers.
  • Body hash rename detection: renamed entities are now matched using a name-stripped body hash with word-boundary awareness, instead of structural_hash which included the entity name. Works across all 13 supported languages.
  • replace_at_word_boundaries: utility for precise name replacement without substring false matches (e.g. won't replace get inside getAll).

108 tests passing, benchmark 31/31 clean (100%) vs git 15/31 (48%).

Reported by @nshcr in gitbutlerapp/gitbutler#12274.