]> git.99rst.org Git - git.git/commit
midx: use strvec_pushf() for pack-objects base name
authorRené Scharfe <redacted>
Sun, 24 Mar 2024 16:40:00 +0000 (17:40 +0100)
committerJunio C Hamano <redacted>
Mon, 25 Mar 2024 19:03:27 +0000 (12:03 -0700)
commit4d45e79e115ef3259179032367cb84d08198c6c5
treebfa9e30688a0011ac49fe24b319d89303af5a5a6
parent11c821f2f2a31e70fb5cc449f9a29401c333aad2
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 <redacted>
Reviewed-by: Patrick Steinhardt <redacted>
Signed-off-by: Junio C Hamano <redacted>
midx.c
git clone https://git.99rst.org/PROJECT