Skip to content

Land the branch and tag page read as its own Git History branch #10

Description

@Defmon3

Seen on: component/git-history

What it fixes

After the first server PR, a client can page through commits but cannot list the branches and tags to choose from. This piece adds one read that returns a page of local branches, remote branches, or tags, with a search filter, bounded and streamed so a repository with thousands of refs cannot flood the connection.

Why we need it

It is PR 2 of the series in the Git History series issue (#8). It is the read the branches pane depends on, and it carries its own snapshot and cursor logic, which deserves its own review.

How to fix it

Cut a fresh branch on top of the first server piece carrying the ref listing read, its snapshot and cursor handling, its contract, its permission scope, and its tests. The default-branch defect is fixed in this piece rather than carried. The PR description states the end state from the series issue. Deferred: changed files, diffs, and 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