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

Function graph_increment_column_color

graph.c:532–536  ·  view source on GitHub ↗

* Update the graph's default column color. */

Source from the content-addressed store, hash-verified

530 * Update the graph's default column color.
531 */
532static void graph_increment_column_color(struct git_graph *graph)
533{
534 graph->default_column_color = (graph->default_column_color + 1) %
535 column_colors_max;
536}
537
538static unsigned short graph_find_commit_color(const struct git_graph *graph,
539 const struct commit *commit)

Callers 1

graph_update_columnsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected