Module branchless::graph[][src]

Renders the smartlog commit graph based on user activity.

This is the basic data structure that most of branchless operates on.

Structs

BranchOids

The OIDs of any branches whose pointed-to commits should be included in the commit graph.

CommitOids

The OIDs of any visible commits that should be included in the commit graph.

HeadOid

The OID of the repo’s HEAD reference.

MainBranchOid

The OID that the repo’s main branch points to.

Node

Node contained in the smartlog commit graph.

Functions

find_path_to_merge_base

Find a shortest path between the given commits.

make_graph

Construct the smartlog graph for the repo.

Type Definitions

CommitGraph

Graph of commits that the user is working on.