From: Jonathan Tan Date: Wed, 26 Aug 2020 23:02:52 GMT Subject: Re: [PATCH v3 10/11] maintenance: add auto condition for commit-graph task Message-ID: <20200826230252.1445841-1-jonathantanmy@google.com> In-Reply-To: <4c3115fe3522bee47ba1f8f5e847e99ad7e56d40.1598380427.git.gitgitgadget@gmail.com> > 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.