On Tue, May 29, 2018 at 6:05 PM, Derrick Stolee <stolee@xxxxxxxxx> wrote: > On 5/29/2018 8:47 PM, Stefan Beller wrote: >> >> This applies on the merge of nd/commit-util-to-slab and >> sb/object-store-grafts, >> and is available at http://github.com/stefanbeller/ as branch >> object-store-lookup-commit >> as the merge has some merge conflicts as well as syntactical conflicts >> (upload-pack.c >> and fetch-pack.c introduce new calls of functions that would want to take >> a repository struct >> in the object-store-grafts series) >> >> As layed out in >> https://public-inbox.org/git/20180517225154.9200-1-sbeller@xxxxxxxxxx/ >> this is getting close to finishing the set of object store series though >> the last >> unfinished part of this RFC hints at new work on the plate: >> * To give this series a nice polish, we'd want to convert parse_commit, >> too. >> But that requires the conversion of the new commit graph. Maybe we need >> to split this series into 2. > > > I'll take a look at this series tomorrow. I've been working in > ds/commit-graph-fsck to make many of the methods take a 'struct commit_graph > *' parameter, which could easily be 'r->commit_graph' for a 'struct > the_repository *r' instead of the global 'commit_graph'. Those graph-local > methods will make the transformation to be repo-local a lot easier. (There > still may be some need to insert a repository, though.) > > Since you are working on the commit-slab stuff in this patch, I'll (continue > to) delay my patch series on using the commit-slab for generation numbers to > avoid collisions with your work. This series touches the commit slabs in the last few commits only. I don't think there will be huge conflicts, as all I had to do was move the definition from a global to inside the parsed object store.