Re: [PATCH v6 3/3] core: convert build-time USE_NSEC into runtime core.useNanosec
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Sep 1, 2026, 17:32 UTC
- Message-ID
- <xmqqpkywswqr.fsf@gitster.g>
- In-Reply-To
- <CALnO6CBKWpmTZW+Z74JsTQvr864vFsvwvRJeKAu3LfXZJK-1Yg@mail.gmail.com>
"D. Ben Knoble" <ben.knoble@gmail.com> writes:
Show 20 quoted lines
> On Tue, Sep 1, 2026 at 12:35 AM Junio C Hamano <gitster@pobox.com> wrote: >> >> "D. Ben Knoble" <ben.knoble@gmail.com> writes: >> >> > +core.useNanosec:: >> > + If true, use nanosecond precision for ctime and mtime >> > + comparisions between the index and the working tree (if Git >> >> comparisions? >> >> > + was compiled to respect this option). >> > + This is unsafe on some platforms; >> > + see link:technical/racy-git.html[Racy Git]. False by default. > > Ouch, good eyes. Obviously should be "comparisons"---I've amended > locally but will hold onto the new version for a bit. > > As this topic is not in next yet, I presume that sending a new version > with the typofix is the correct thing to do. I'll wait a while today > to see if any other comments trickle in.
Yeah, and in the meantime I'll locallly amend what I have. If we do not hear any other issues in a few days perhaps we can do without the final reroll that way.
Thanks.