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

Function show_sig_lines

log-tree.c:564–578  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

562}
563
564static void show_sig_lines(struct rev_info *opt, int status, const char *bol)
565{
566 const char *color, *reset, *eol;
567
568 color = diff_get_color_opt(&opt->diffopt,
569 status ? DIFF_WHITESPACE : DIFF_FRAGINFO);
570 reset = diff_get_color_opt(&opt->diffopt, DIFF_RESET);
571 while (*bol) {
572 eol = strchrnul(bol, '\n');
573 fprintf(opt->diffopt.file, "%s%.*s%s%s", color, (int)(eol - bol), bol, reset,
574 *eol ? "\n" : "");
575 graph_show_oneline(opt->graph);
576 bol = (*eol) ? (eol + 1) : eol;
577 }
578}
579
580static void show_signature(struct rev_info *opt, struct commit *commit)
581{

Callers 2

show_signatureFunction · 0.85
show_one_mergetagFunction · 0.85

Calls 1

graph_show_onelineFunction · 0.85

Tested by

no test coverage detected