Commit 4d45e79
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>1 parent 11c821f commit 4d45e79
1 file changed
+1
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2163 | 2163 | | |
2164 | 2164 | | |
2165 | 2165 | | |
2166 | | - | |
2167 | 2166 | | |
2168 | 2167 | | |
2169 | 2168 | | |
| |||
2190 | 2189 | | |
2191 | 2190 | | |
2192 | 2191 | | |
2193 | | - | |
2194 | | - | |
2195 | | - | |
| 2192 | + | |
2196 | 2193 | | |
2197 | 2194 | | |
2198 | 2195 | | |
| |||
2204 | 2201 | | |
2205 | 2202 | | |
2206 | 2203 | | |
2207 | | - | |
2208 | | - | |
2209 | 2204 | | |
2210 | 2205 | | |
2211 | 2206 | | |
| |||
0 commit comments