MCPcopy Index your code
hub / github.com/git/git / read_commit_graph_one

Function read_commit_graph_one

commit-graph.c:722–730  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

720}
721
722struct commit_graph *read_commit_graph_one(struct odb_source *source)
723{
724 struct commit_graph *g = load_commit_graph_v1(source);
725
726 if (!g)
727 g = load_commit_graph_chain(source);
728
729 return g;
730}
731
732/*
733 * Return 1 if commit_graph is non-NULL, and 0 otherwise.

Callers 2

prepare_commit_graphFunction · 0.85
cmd__read_graphFunction · 0.85

Calls 2

load_commit_graph_v1Function · 0.85
load_commit_graph_chainFunction · 0.85

Tested by 1

cmd__read_graphFunction · 0.68