From: Matthew Hughes Date: Mon, 01 Dec 2025 17:58:06 GMT Subject: Re: [PATCH v2 5/5] scalar: document config settings Message-ID: In-Reply-To: On Mon, Dec 01, 2025 at 04:50:47PM +0000, Derrick Stolee via GitGitGadget wrote: > Add user-facing documentation that justifies the values being set by > 'scalar clone', 'scalar register', and 'scalar reconfigure'. Thanks! This is exactly what I was hoping for. > +REQUIRED AND RECOMMENDED CONFIG > +------------------------------- Would it be worth noting in scalar.c that the config options listed there are documented here, So that a dev changing the list in the source will know to also update this? I assume there's an understanding that if e.g. you update a flag you should know to also update relevant docs, but perhaps this is a bit more niche. > +gc.auto=0:: > + This disables automatic garbage collection, since Scalar uses background > + maintenance to keep the repository data in good shape. Checking my understanding: this means there will be _no_ automatic GC in a scalar repo? Since scalar calls 'maintenance register' which means maintenance.strategy will be set to 'incremental' which won't schedule any gc runs