Re: [PATCH 10/10] builtin/commit-graph.c: introduce '--max-new-filters=<n>'
- From
Taylor Blau <me@ttaylorr.com>
- Date
- Aug 4, 2020, 20:14 UTC
- Message-ID
- <20200804201402.GE89277@syl.lan>
- In-Reply-To
- <1c2e841b-4b04-30ba-6c94-96f8bf0cf449@gmail.com>
On Tue, Aug 04, 2020 at 09:03:36AM -0400, Derrick Stolee wrote:
Show 8 quoted lines
> On 8/3/2020 2:57 PM, Taylor Blau wrote: > > Introduce a command-line flag and configuration variable to fill in the > > 'max_new_filters' variable introduced by the previous patch. > > > > The command-line option '--max-new-filters' takes precedence over > > 'graph.maxNewFilters', which is the default value. > > commitGraph.maxNewFilters?
Nice catch. There are some other places that I made this typo, but I fixed those up locally, too.
Show 6 quoted lines
> > '--no-max-new-filters' can also be provided, which sets the value back > > to '-1', indicating that an unlimited number of new Bloom filters may be > > generated. (OPT_INTEGER only allows setting the '--no-' variant back to > > '0', hence a custom callback was used instead). > > Other than the commit message typo above, this is a good patch.
Thanks, and thanks for the good suggestion to write it in the first place ;).
> Thanks, > -Stolee
Thanks, Taylor