aboutsummaryrefslogtreecommitdiffstats
path: root/commit.h
diff options
context:
space:
mode:
authorLinus Arver <linusa@google.com>2024-03-01 00:14:44 +0000
committerJunio C Hamano <gitster@pobox.com>2024-03-01 10:35:42 -0800
commitbf35e0a018cf6d35834e762ac524754024800ad6 (patch)
tree2221c373bc12ecefc597f6509706a3378c19f091 /commit.h
parenttrailer_info_get(): reorder parameters (diff)
downloadgit-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