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 /commit.h | |
| parent | trailer_info_get(): reorder parameters (diff) | |
| download | git-bf35e0a018cf6d35834e762ac524754024800ad6.tar.gz git-bf35e0a018cf6d35834e762ac524754024800ad6.zip | |
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 'commit.h')
0 files changed, 0 insertions, 0 deletions
