MCPcopy Index your code
hub / github.com/git/git / fmt_output_commit

Function fmt_output_commit

log-tree.c:464–475  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

462}
463
464void fmt_output_commit(struct strbuf *filename,
465 struct commit *commit,
466 struct rev_info *info)
467{
468 struct pretty_print_context ctx = {0};
469 struct strbuf subject = STRBUF_INIT;
470
471 repo_format_commit_message(the_repository, commit, "%f", &subject,
472 &ctx);
473 fmt_output_subject(filename, subject.buf, info);
474 strbuf_release(&subject);
475}
476
477void fmt_output_email_subject(struct strbuf *sb, struct rev_info *opt)
478{

Callers 2

log_write_email_headersFunction · 0.85
open_next_fileFunction · 0.85

Calls 3

fmt_output_subjectFunction · 0.85
strbuf_releaseFunction · 0.85

Tested by

no test coverage detected