MCPcopy Create free account
hub / github.com/git/git / graph_find_new_column_by_commit

Function graph_find_new_column_by_commit

graph.c:549–558  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

547}
548
549static int graph_find_new_column_by_commit(struct git_graph *graph,
550 struct commit *commit)
551{
552 int i;
553 for (i = 0; i < graph->num_new_columns; i++) {
554 if (graph->new_columns[i].commit == commit)
555 return i;
556 }
557 return -1;
558}
559
560static void graph_insert_into_new_columns(struct git_graph *graph,
561 struct commit *commit,

Callers 3

graph_output_commit_lineFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected