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

Function graph_show_oneline

graph.c:1562–1574  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1560}
1561
1562void graph_show_oneline(struct git_graph *graph)
1563{
1564 struct strbuf msgbuf = STRBUF_INIT;
1565
1566 graph_show_line_prefix(default_diffopt);
1567
1568 if (!graph)
1569 return;
1570
1571 graph_next_line(graph, &msgbuf);
1572 fwrite(msgbuf.buf, sizeof(char), msgbuf.len, graph->revs->diffopt.file);
1573 strbuf_release(&msgbuf);
1574}
1575
1576void graph_show_padding(struct git_graph *graph)
1577{

Callers 5

log_write_email_headersFunction · 0.85
show_sig_linesFunction · 0.85
show_logFunction · 0.85
graph_show_strbufFunction · 0.85
show_commitFunction · 0.85

Calls 3

graph_show_line_prefixFunction · 0.85
graph_next_lineFunction · 0.85
strbuf_releaseFunction · 0.85

Tested by

no test coverage detected