diff options
| author | Li Chen <chenl311@chinatelecom.cn> | 2025-11-05 22:29:43 +0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-11-06 09:45:00 -0800 |
| commit | 534a87d6f49c6a4313c5b224de40b2d7b47486e1 (patch) | |
| tree | 77abf99920ac163fc33263e14d28dbeec2b38082 /string-list.c | |
| parent | trailer: move process_trailers to trailer.h (diff) | |
| download | git-534a87d6f49c6a4313c5b224de40b2d7b47486e1.tar.gz git-534a87d6f49c6a4313c5b224de40b2d7b47486e1.zip | |
trailer: append trailers in-process and drop the fork to `interpret-trailers`
Route all trailer insertion through trailer_process() and make
builtin/interpret-trailers just do file I/O before calling into it.
amend_file_with_trailers() now shares the same code path.
This removes the fork/exec and tempfile juggling, cutting overhead and
simplifying error handling. No functional change. It also
centralizes logic to prepare for follow-up rebase --trailer patch.
Signed-off-by: Li Chen <chenl311@chinatelecom.cn>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'string-list.c')
0 files changed, 0 insertions, 0 deletions
