| 547 | } |
| 548 | |
| 549 | static 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 | |
| 560 | static void graph_insert_into_new_columns(struct git_graph *graph, |
| 561 | struct commit *commit, |
no outgoing calls
no test coverage detected