open-code-review/internal/diff
kite 96987b785d fix(diff): remove trailing blank lines from concatenated multi-file diffs
strings.Split produces an empty trailing element when the git diff
output ends with \n. The empty element was written into the last file's
buffer, and TrimSuffix only removed one \n — leaving the last Diff
field with an extra trailing newline that earlier files didn't have.
Switch to TrimRight so all Diff values are consistently clean.
2026-06-21 10:46:27 +08:00
..
git.go Fix workspace symlink diff containment (#125) 2026-06-15 00:03:36 +08:00
git_test.go Fix workspace symlink diff containment (#125) 2026-06-15 00:03:36 +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(diff): remove trailing blank lines from concatenated multi-file diffs 2026-06-21 10:46:27 +08:00
parser_test.go fix(diff): remove trailing blank lines from concatenated multi-file diffs 2026-06-21 10:46:27 +08:00
relocation.go feat(agent): add LLM-driven file grouping for multi-file co-review 2026-06-20 21:31:14 +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 feat(agent): integrate session recording and token tracking for re-location task 2026-05-30 23:25:12 +08:00
resolver_test.go refactor(diff): Simplify hunk resolution logic with helper functions 2026-05-23 00:36:51 +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