From: Jonathan Nieder Date: Tue, 13 Nov 2018 18:18:55 GMT Subject: Re: [PATCH 2/3] ieot: default to not writing IEOT section Message-ID: <20181113181855.GB68106@google.com> In-Reply-To: Hi, Ben Peart wrote: > On 11/12/2018 7:39 PM, Jonathan Nieder wrote: >> As with EOIE, popular versions of Git do not support the new IEOT >> extension yet. When accessing a Git repository written by a more >> modern version of Git, they correctly ignore the unrecognized section, >> but in the process they loudly warn >> >> ignoring IEOT extension >> >> resulting in confusion for users. Introduce the index extension more >> gently by not writing it yet in this first version with support for >> it. [...] >> Introduce a '[index] recordOffsetTable' configuration variable to >> control whether the new index extension is written. > > Why introduce a new setting to disable writing the IEOT extension instead of > just using the existing index.threads setting? If index.threads=1 then the > IEOT extension isn't written which (I believe) will accomplish the same > goal. Do you mean defaulting to index.threads=1? I don't think that would be a good default, but if you have a different change in mind then I'd be happy to hear it. Or do you mean that if the user has explicitly specified index.threads=true, then that should imply index.recordOffsetTable=true so users only have to set one setting to turn it on? I can imagine that working well. Thanks, Jonathan