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

Function graph_needs_truncation

graph.c:320–327  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

318};
319
320static 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
329static const char *diff_output_prefix_callback(struct diff_options *opt, void *data)
330{

Callers 7

graph_draw_octopus_mergeFunction · 0.85
graph_output_commit_lineFunction · 0.85
graph_padding_lineFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected