Skip to content

Git history graph does not show branches since bare repo migration #8

@JohnRDOrazio

Description

@JohnRDOrazio

Problem

Since switching to bare git repositories (pygit2), the git history graph in the revision/history view no longer shows branches. All commits appear as a linear list without branch structure.

Expected behavior

The history graph should visualize branch points, merge commits, and parallel branches — similar to git log --graph.

Likely cause

The bare repo migration may have changed how commit history and refs are returned from the API, or the frontend graph rendering may not be receiving the branch/ref metadata it needs.

Investigation areas

  • Backend: How ontokit-api returns commit history for bare repos — check if branch refs and parent commits are included
  • Frontend: How the history/revision components render the graph — check if they expect data that's no longer provided

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions