open-code-review/internal/diff
kite 29564a891b refactor(diff): Simplify hunk resolution logic with helper functions
This change refactors the `resolveFromHunk` function by introducing several helper functions (`extractSideLines`, `matchConsecutive`) to improve readability and maintainability. The new implementation attempts to match against both new and old sides of the diff hunk, making comment resolution more robust.
2026-05-23 00:36:51 +08:00
..
git.go feat: init 2026-05-20 22:03:52 +08:00
hunk.go feat: init 2026-05-20 22:03:52 +08:00
hunk_test.go feat: init 2026-05-20 22:03:52 +08:00
parser.go feat: init 2026-05-20 22:03:52 +08:00
resolver.go refactor(diff): Simplify hunk resolution logic with helper functions 2026-05-23 00:36:51 +08:00
resolver_test.go refactor(diff): Simplify hunk resolution logic with helper functions 2026-05-23 00:36:51 +08:00