Skip to content
This repository was archived by the owner on Oct 9, 2026. It is now read-only.

Drop structural_changes from the file record - #104

Open
sidkmenon wants to merge 1 commit into
mainfrom
drop-structural-changes
Open

sidkmenon wants to merge 1 commit into
mainfrom
drop-structural-changes

Conversation

@sidkmenon

Copy link
Copy Markdown
Contributor

A text diff's trees already say which lines changed: a leaf's changed spans, and every line of a leaf with no partner. structural_changes repeated that as line ranges. present now counts only the visible changed lines that stats.visible needs. diffr-ts loses StructuralChanges and structuralChangeCounts.

Bottom of a stack of three; the search PRs build on it.

AI assistance: developed with Claude Code.

https://claude.ai/code/session_01Jcs63VAkAWzCT54XzdvDyb

A text diff's trees already say which lines changed: a leaf's `changed`
spans, and every line of a leaf with no partner on the other side.
`structural_changes` repeated that as line ranges, and consumers that
need per-line detail walk the trees anyway. `present` now counts only
the visible changed lines that `stats.visible` needs.

diffr-ts loses `StructuralChanges` and `structuralChangeCounts`.

AI assistance: developed with Claude Code.

Claude-Session: https://claude.ai/code/session_01Jcs63VAkAWzCT54XzdvDyb
Agent-Session: 82924cb5-dcfa-42e4-abb0-ef40393249f8
Agent-Session: 01a10dbe-5dcc-74a3-a06b-f810c6d3af7e
Agent-Session: 01a10e7a-1dfa-7bd1-a6f4-8449c22813e2
Agent-Session: 5700e9f2-ed1a-41d0-825c-bda83f9e8aa0
Agent-Session: 01a10f90-e4ce-70f2-84d1-26d64820eed3
Agent-Session: 01a11898-f278-7b30-b366-ea64bfc7ff5e
Agent-Session: 01a118dd-0ded-7b60-a820-60e4f5797db5
@sidkmenon
sidkmenon added this pull request to stack #107 October 8, 2026 08:00

This branch has not been deployed

No deployments
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant