From: Junio C Hamano Date: Wed, 26 Aug 2020 23:56:37 GMT Subject: Re: [PATCH v3 10/11] maintenance: add auto condition for commit-graph task Message-ID: In-Reply-To: <20200826230252.1445841-1-jonathantanmy@google.com> Jonathan Tan writes: >> From: Derrick Stolee >> >> Instead of writing a new commit-graph in every 'git maintenance run >> --auto' process (when maintenance.commit-graph.enalbed is configured to >> be true), only write when there are "enough" commits not in a >> commit-graph file. >> >> This count is controlled by the maintenance.commit-graph.auto config >> option. >> >> To compute the count, use a depth-first search starting at each ref, and >> leaving markers using the PARENT1 flag. If this count reaches the limit, > > PARENT1 -> SEEN > > Other than that, all the 11 patches look good. Thanks.