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

Function graph_output_padding_line

graph.c:862–878  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

860}
861
862static void graph_output_padding_line(struct git_graph *graph,
863 struct graph_line *line)
864{
865 int i;
866
867 /*
868 * Output a padding row, that leaves all branch lines unchanged
869 */
870 for (i = 0; i < graph->num_new_columns; i++) {
871 if (graph_needs_truncation(graph, i)) {
872 graph_line_addstr(line, "~ ");
873 break;
874 }
875 graph_line_write_column(line, &graph->new_columns[i], '|');
876 graph_line_addch(line, ' ');
877 }
878}
879
880
881int graph_width(struct git_graph *graph)

Callers 1

graph_next_lineFunction · 0.85

Calls 4

graph_needs_truncationFunction · 0.85
graph_line_addstrFunction · 0.85
graph_line_write_columnFunction · 0.85
graph_line_addchFunction · 0.85

Tested by

no test coverage detected