| 860 | } |
| 861 | |
| 862 | static 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 | |
| 881 | int graph_width(struct git_graph *graph) |
no test coverage detected