Message ID | cover.1633727270.git.jonathantanmy@google.com (mailing list archive) |
---|---|
Headers | show |
Series | No more adding submodule ODB as alternate | expand |
Jonathan Tan <jonathantanmy@google.com> writes: > Thanks everyone for your reviews. Here's an updated patch set, including > Carlo's fixup squashed. This series LGTM. My comments on v3 center around the remaining references to the_repository, but as you have noted, we aren't at a stage where we can remove the_repository. Rather, we are making the_repository explicit in anticipation of removing the_repository from the entire ref writing system. I have some reservations about adding the backpointer from ref_store to repository. I don't think this is the best long-term API, but it is a reasonable step towards removing the_repository from the ref writing system, and as Josh mentioned: This seems reasonable as we don't keep a lot of these structs around, so the additional memory usage isn't much of a concern. Reviewed-by: Glen Choo <chooglen@google.com>
On 2021.10.08 14:08, Jonathan Tan wrote: > Thanks everyone for your reviews. Here's an updated patch set, including > Carlo's fixup squashed. > > Jonathan Tan (7): > refs: plumb repo into ref stores > refs: teach arbitrary repo support to iterators > refs: peeling non-the_repository iterators is BUG > merge-{ort,recursive}: remove add_submodule_odb() > object-file: only register submodule ODB if needed > submodule: pass repo to check_has_commit() > submodule: trace adding submodule ODB as alternate This looks good to me. All my concerns from v3 have been addressed, so: Reviewed-by: Josh Steadmon <steadmon@google.com>
Josh Steadmon <steadmon@google.com> writes: > On 2021.10.08 14:08, Jonathan Tan wrote: >> Thanks everyone for your reviews. Here's an updated patch set, including >> Carlo's fixup squashed. >> >> Jonathan Tan (7): >> refs: plumb repo into ref stores >> refs: teach arbitrary repo support to iterators >> refs: peeling non-the_repository iterators is BUG >> merge-{ort,recursive}: remove add_submodule_odb() >> object-file: only register submodule ODB if needed >> submodule: pass repo to check_has_commit() >> submodule: trace adding submodule ODB as alternate > > This looks good to me. All my concerns from v3 have been addressed, so: > > Reviewed-by: Josh Steadmon <steadmon@google.com> Thanks, all. Let's mark the topic for 'next' now.