diff options
author | Linus Arver <linusa@google.com> | 2024-03-01 00:14:44 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-03-01 10:35:42 -0800 |
commit | bf35e0a018cf6d35834e762ac524754024800ad6 (patch) | |
tree | 2221c373bc12ecefc597f6509706a3378c19f091 /builtin/commit.c | |
parent | 9aa1b2bc890cea43f2b9aa3379ca88e98a17801f (diff) |
format_trailers(): use strbuf instead of FILE
This is another preparatory refactor to unify the trailer formatters.
Make format_trailers() also write to a strbuf, to align with
format_trailers_from_commit() which also does the same. Doing this makes
format_trailers() behave similar to format_trailer_info() (which will
soon help us replace one with the other).
Signed-off-by: Linus Arver <linusa@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions