Jonathan Tan <jonathantanmy@xxxxxxxxxx> 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@xxxxxxxxxx>