diff options
| author | Linus Arver <linusa@google.com> | 2024-03-15 06:55:02 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-03-15 10:10:24 -0700 |
| commit | 41ea0a900221897c5ba36afb9f0b31bf543cea7e (patch) | |
| tree | 678ec2aa50784d86b0330b23218249bb108567c0 /commit.c | |
| parent | format_trailer_info(): use trailer_item objects (diff) | |
| download | git-41ea0a900221897c5ba36afb9f0b31bf543cea7e.tar.gz git-41ea0a900221897c5ba36afb9f0b31bf543cea7e.zip | |
format_trailer_info(): drop redundant unfold_value()
This is another preparatory refactor to unify the trailer formatters.
In the last patch we made format_trailer_info() use trailer_item objects
instead of the "trailers" string array. This means that the call to
unfold_value() here is redundant because the trailer_item objects are
already unfolded in parse_trailers() which is a dependency of our
caller, format_trailers_from_commit().
Remove the redundant call.
Signed-off-by: Linus Arver <linusa@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions
