Seen on: component/git-history
What it fixes
After the first two server PRs, a client can page commits and refs but cannot see what a commit changed. This piece adds two reads: a page of the files one commit changed, and the diff for the commit or for one of its files, with the patch size capped and a flag when it was cut.
Why we need it
It is PR 3 of the series in the Git History series issue (#8), the last server piece. It completes the five reads the web side needs, so every later PR is UI only.
How to fix it
Cut a fresh branch on top of the second server piece carrying the changed-files read with its cursor, the diff read with its size cap, their contracts, their permission scope, and their tests. The PR description states the end state from the series issue. Deferred: everything under the web app.
Seen on: component/git-history
What it fixes
After the first two server PRs, a client can page commits and refs but cannot see what a commit changed. This piece adds two reads: a page of the files one commit changed, and the diff for the commit or for one of its files, with the patch size capped and a flag when it was cut.
Why we need it
It is PR 3 of the series in the Git History series issue (#8), the last server piece. It completes the five reads the web side needs, so every later PR is UI only.
How to fix it
Cut a fresh branch on top of the second server piece carrying the changed-files read with its cursor, the diff read with its size cap, their contracts, their permission scope, and their tests. The PR description states the end state from the series issue. Deferred: everything under the web app.