[PATCH v2 1/4] man/man3*: document the glibc 2.42+ baud_t termios interface
Alejandro Colomar
alx@kernel.org
Tue Jun 30 21:19:15 GMT 2026
Hi,
On 2026-06-30T13:41:16-0700, H. Peter Anvin wrote:
> On 2026-06-30 03:39, Alejandro Colomar wrote:
> >
> > Hmmm, even with --diff-algorithm=patience it shows the diff too badly.
> > I've been trying, and --diff-algorithm=histogram shows a much nicer
> > diff. I have the following in my gitconfig:
> >
> > [diff]
> > algorithm = histogram
> >
> > I suggest adding that to your gitconfig file. It is implicitly also
> > used when you generate patches. The histogram algorithm works quite
> > nicely (I've been using for a few years already).
> >
> OK, I'll try that. I haven't played with the diff algorithms, perhaps because
> I naïvely assumed that the default would be the "currently best" algorithm and
The default is the fastest (I believe), but it's actually bad. While
there are a few weird cases where the histogram algorithm fails badly,
it regularly results in better diffs. :)
> ending up using a stale algorithm choice when a new one is introduced is
> unfortunate.
TBH, I don't know why they didn't change the default.
Cheers,
Alex
>
> -hpa
>
--
<https://www.alejandro-colomar.es>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/libc-alpha/attachments/20260630/431969f9/attachment.sig>
More information about the Libc-alpha
mailing list