Re: [PATCH 4/5] commit-graph: store graph in struct object_store
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jun 26, 2018, 16:40 UTC
- Message-ID
- <xmqqefgtmrgi.fsf@gitster-ct.c.googlers.com>
- In-Reply-To
- <20180625220915.198932-1-jonathantanmy@google.com>
Jonathan Tan <jonathantanmy@google.com> writes:
> As for whether both these functions are necessary in the first place, I > think they are.
I do not mind their existence.
I was wondering if they can share more implementation; such a design would need s/the_commit_graph/the_repo->objstore->commit_graph/ only once as a side effect.