| 318 | }; |
| 319 | |
| 320 | static inline int graph_needs_truncation(struct git_graph *graph, int lane) |
| 321 | { |
| 322 | int max = graph->revs->graph_max_lanes; |
| 323 | /* |
| 324 | * Ignore values <= 0, meaning no limit. |
| 325 | */ |
| 326 | return max > 0 && lane >= max; |
| 327 | } |
| 328 | |
| 329 | static const char *diff_output_prefix_callback(struct diff_options *opt, void *data) |
| 330 | { |
no outgoing calls
no test coverage detected