Re: [PATCH 0/3] t: add "test-tool genbytes" to avoid slow tr(1) on macOS
- From
Kristofer Karlsson <krka@spotify.com>
- Date
- Nov 8, 2026, 09:11 UTC
- Message-ID
- <CAL71e4PXCY6bDEW6LyXKkskurzRTjbfK_zf6DqPiRMVAt=Yixw@mail.gmail.com>
- In-Reply-To
- <xmqq1p8w9rbf.fsf@gitster.g>
On Sun, 8 Nov 2026 at 00:04, Junio C Hamano <gitster@pobox.com> wrote:
Show 5 quoted lines
> > Just being curious. Would forcing C locale on it help? I.e., > > genzeros | LANG=C LC_ALL=C tr ... >
No, test-lib-functions.sh already sets those env variables, but the macos implementation of tr always executes the slow path unfortunately.
Thanks, Kristofer