Re: [PATCH v5 3/3] core: convert build-time USE_NSEC into runtime core.useNanosec
Show 20 quoted lines
> Le 31 août 2026 à 11:31, Patrick Steinhardt <ps@pks.im> a écrit :
>
> On Sat, Aug 29, 2026 at 09:38:20AM -0400, D. Ben Knoble wrote:
>> diff --git a/builtin/update-index.c b/builtin/update-index.c
>> index 241abd4332..8e0c25655f 100644
>> --- a/builtin/update-index.c
>> +++ b/builtin/update-index.c
>> @@ -130,7 +130,7 @@ static void xrmdir(const char *path)
>> static void avoid_racy(void)
>> {
>> /*
>> - * not use if we could usleep(10) if USE_NSEC is defined. The
>> + * not use if we could usleep(10) if core.useNanosec is defined. The
>
> Micronit: s/defined/enabled/
>
> Otherwise I'm happy with this patch. It looks a lot better now that we
> use less preprocessor directives. Thanks!
>
> PatrickThanks, queued locally. Will send out as v6 this evening (~5–6h from now) unless I hear differently from anyone. (That comment is hard to read to begin with!)