| 462 | } |
| 463 | |
| 464 | void 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 | |
| 477 | void fmt_output_email_subject(struct strbuf *sb, struct rev_info *opt) |
| 478 | { |
no test coverage detected