open-code-review/internal/diff
Ayrton 344f981156
fix: ensure current file path is always injected for code_comment and… (#193)
* fix: ensure current file path is always injected for code_comment and improve line number tracking in resolver

* test: Cover blank-line matching in resolveFromFileContent fallback
Add a regression test for snippets that omit blank lines while the
source file retains them, and document that consecutive matching skips
blank lines on both sides.

* test: Add tests for resolving line numbers with blank lines and CRLF
2026-06-25 16:29:09 +08:00
..
git.go feat: add ocr scan for full-file code review (#93) 2026-06-24 22:07:25 +08:00
git_test.go Fix workspace symlink diff containment (#125) 2026-06-15 00:03:36 +08:00
gitignore.go feat: add ocr scan for full-file code review (#93) 2026-06-24 22:07:25 +08:00
hunk.go style: apply go fmt formatting 2026-06-03 17:34:28 +08:00
hunk_test.go feat: init 2026-05-20 22:03:52 +08:00
parser.go Fix workspace symlink diff containment (#125) 2026-06-15 00:03:36 +08:00
parser_test.go fix(diff): detect renamed and deleted files correctly in diff parsing (#105) 2026-06-14 22:29:02 +08:00
relocation.go feat(agent): integrate session recording and token tracking for re-location task 2026-05-30 23:25:12 +08:00
relocation_test.go refactor(llm): replace hand-rolled HTTP clients with official Anthropic and OpenAI SDKs 2026-06-06 19:26:34 +08:00
resolver.go fix: ensure current file path is always injected for code_comment and… (#193) 2026-06-25 16:29:09 +08:00
resolver_test.go fix: ensure current file path is always injected for code_comment and… (#193) 2026-06-25 16:29:09 +08:00
workspace_file.go Fix workspace symlink diff containment (#125) 2026-06-15 00:03:36 +08:00
workspace_file_test.go test(diff): add unit tests for readWorkspaceFileForDiff 2026-06-15 11:51:51 +08:00