Message ID | cover.1663706401.git.me@ttaylorr.com (mailing list archive) |
---|---|
Headers | show |
Series | midx: use `--stdin-packs` to implement `repack` | expand |
On Tue, Sep 20, 2022 at 04:40:14PM -0400, Taylor Blau wrote: > Here's a few patches that replace the existing "feed each OID > one-by-one" approach to implement the `repack` sub-command of the > `multi-pack-index` builtin with one that uses `pack-objects`'s > `--stdin-packs` option. > > There is an additional patch at the beginning of this series in order to > extract the mtime-sorted list of packs to rollup from their home in > `fill_included_packs_batch()`. There's also one more on the end to unify > the `include_pack` array into the `repack_info` struct(s) themselves. The first and third make sense to me, and it looks like a nice cleanup. The middle one looks fine, modulo all of our earlier discussion about the extra traversal being fine. I think it would be good t get a review from Stolee as the person who invented "git multi-index-pack repack" and would understand its intended use. Presumably this is all weird "I have a giant Windows repository" packing strategy. :) -Peff
Taylor Blau <me@ttaylorr.com> writes: > Here's a few patches that replace the existing "feed each OID > one-by-one" approach to implement the `repack` sub-command of the > `multi-pack-index` builtin with one that uses `pack-objects`'s > `--stdin-packs` option. One question. How is this series expected to interact with the 7-patch series about ignoring cruft pack while "midx repack" etc.? I guess it is not so urgent during the -rc period, so I'll stop at asking that question without reading further, at least for now. Thanks.
On Wed, Sep 21, 2022 at 12:09:31PM -0700, Junio C Hamano wrote: > Taylor Blau <me@ttaylorr.com> writes: > > > Here's a few patches that replace the existing "feed each OID > > one-by-one" approach to implement the `repack` sub-command of the > > `multi-pack-index` builtin with one that uses `pack-objects`'s > > `--stdin-packs` option. > > One question. How is this series expected to interact with the > 7-patch series about ignoring cruft pack while "midx repack" etc.? The first round merges cleanly, but the second round will have a slight conflict. I'll send you a new version of this series based on whatever is in `master` following the release. Thanks, Taylor