| 124 | } |
| 125 | |
| 126 | timestamp_t commit_graph_generation(const struct commit *c) |
| 127 | { |
| 128 | struct commit_graph_data *data = |
| 129 | commit_graph_data_slab_peek(&commit_graph_data_slab, c); |
| 130 | |
| 131 | if (data && data->generation) |
| 132 | return data->generation; |
| 133 | |
| 134 | return GENERATION_NUMBER_INFINITY; |
| 135 | } |
| 136 | |
| 137 | static timestamp_t commit_graph_generation_from_graph(const struct commit *c) |
| 138 | { |
no outgoing calls
no test coverage detected