diff options
| author | Li Chen <chenl311@chinatelecom.cn> | 2025-11-05 22:29:41 +0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-11-06 09:45:00 -0800 |
| commit | 6145e03295ca33af14683f2973b8bbcbb63b4edf (patch) | |
| tree | bdfe08f14bd18623a50f8a56a736dd9aaf1773c1 /builtin/commit.c | |
| parent | Git 2.52-rc1 (diff) | |
| download | git-6145e03295ca33af14683f2973b8bbcbb63b4edf.tar.gz git-6145e03295ca33af14683f2973b8bbcbb63b4edf.zip | |
interpret-trailers: factor out buffer-based processing to process_trailers()
Extracted trailer processing into a helper that accumulates output in
a strbuf before writing.
Updated interpret_trailers() to reuse the helper, buffer output, and
clean up both input and output buffers after writing.
Signed-off-by: Li Chen <chenl311@chinatelecom.cn>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions
