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

Function graph_output_skip_line

graph.c:887–899  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

885
886
887static void graph_output_skip_line(struct git_graph *graph, struct graph_line *line)
888{
889 /*
890 * Output an ellipsis to indicate that a portion
891 * of the graph is missing.
892 */
893 graph_line_addstr(line, "...");
894
895 if (graph_needs_pre_commit_line(graph))
896 graph_update_state(graph, GRAPH_PRE_COMMIT);
897 else
898 graph_update_state(graph, GRAPH_COMMIT);
899}
900
901static void graph_output_pre_commit_line(struct git_graph *graph,
902 struct graph_line *line)

Callers 1

graph_next_lineFunction · 0.85

Calls 3

graph_line_addstrFunction · 0.85
graph_update_stateFunction · 0.85

Tested by

no test coverage detected