diff options
author | René Scharfe <l.s.r@web.de> | 2024-03-24 17:40:00 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-03-25 12:03:27 -0700 |
commit | 4d45e79e115ef3259179032367cb84d08198c6c5 (patch) | |
tree | bfa9e30688a0011ac49fe24b319d89303af5a5a6 /builtin/commit.c | |
parent | 11c821f2f2a31e70fb5cc449f9a29401c333aad2 (diff) |
midx: use strvec_pushf() for pack-objects base name
Build the pack base name argument directly using strvec_pushf() instead
of with an intermediate strbuf. This is shorter, simpler and avoids the
need for explicit cleanup.
Signed-off-by: René Scharfe <l.s.r@web.de>
Reviewed-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions