open-code-review/internal/diff
kite 99e6709603 fix(diff,tool): read file content at reviewed ref in range/commit mode
file_find and finalizeDiff always read from the working tree, even in
range/commit mode where the review targets a specific git ref. This
caused inconsistent file versions compared to file_read and code_search
which correctly used git show. Fix file_find to use git ls-tree and
finalizeDiff to use git show when a ref is specified.
2026-06-04 15:20:14 +08:00
..
git.go fix(diff,tool): read file content at reviewed ref in range/commit mode 2026-06-04 15:20:14 +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,tool): read file content at reviewed ref in range/commit mode 2026-06-04 15:20:14 +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 feat(agent): integrate session recording and token tracking for re-location task 2026-05-30 23:25:12 +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