Skip to content

Land the changed files and diff reads as their own Git History branch #11

Description

@Defmon3

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions