mirror of
https://github.com/alibaba/open-code-review.git
synced 2026-07-10 09:49:05 +00:00
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. |
||
|---|---|---|
| .. | ||
| git.go | ||
| hunk.go | ||
| hunk_test.go | ||
| parser.go | ||
| resolver.go | ||
| resolver_test.go | ||