diff options
| author | Li Chen <me@linux.beauty> | 2026-03-06 14:53:27 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-03-06 13:02:19 -0800 |
| commit | 8efabc9e64f9c93a764b0d38981bf99d75f502bd (patch) | |
| tree | 39eace60b5b911448f94cd71c6a634762ac044a2 /gitk-git | |
| parent | 7c02d39fc2ed2702223c7674f73150d9a7e61ba4 (diff) | |
| download | git-8efabc9e64f9c93a764b0d38981bf99d75f502bd.tar.xz | |
interpret-trailers: factor trailer rewriting
Extract the trailer rewriting logic into a helper that appends to an
output strbuf.
Update interpret_trailers() to handle file I/O only: read input once,
call the helper, and write the buffered result.
This separation makes it easier to move the helper into trailer.c in the
next commit.
Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk>
Signed-off-by: Li Chen <me@linux.beauty>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'gitk-git')
0 files changed, 0 insertions, 0 deletions
