Re: [PATCH v2 1/4] man/man3*: document the glibc 2.42+ baud_t termios interface

Alejandro Colomar <[email protected]> Tue, 30 Jun 2026 23:19:15 +0200
Newsgroups org.kernel.vger.linux-man
Message-ID <akQydQ9Qa2TOvW2p@devuan>
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>
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEES7Jt9u9GbmlWADAi64mZXMKQwqkFAmpEMtIACgkQ64mZXMKQ
wqnS3Q/+NluXePDFxejUTpaExs/D9XATq+KMCz9u4zzDEUWvsO567A2jnri7ra62
R50jOpQlHNPxBhMH8YpcAkjRtwYgfEFKuEDxomUJjFzOHha5XIfDDsOvItVXWqtR
FOaFSaW5HTLVLYdF3zVSWZSWmf0dBte/wZNRe1MWTJtaJt34d4pm0MuVEbagkNlI
7yeJV7MZGEaJ+ZY6kqZhck4MSNOGb2aXZ4eAqgDJHmhq94r8lGs0rDtvzPfxPXNu
C0kMUoW96sKZKfogUe2WdZcMgFoC7aTnXvWLCqG2QPWlBtJZB3Bgyl830wIQytvE
ojsjX8Ikn6qQVCXQYchAYEQjU69t0cWAtFyG5xrDRH0BVLif6BenP0gnZ1uimPLd
LFN4r0HqEn5/nAD4muQ1gOnNmpQpX5NPkxY6Ed65d49fvhmZuX2B9jWc0gHoJvt6
NdncbPWpFFMXJwWLh85A8vZj3qHWeE8tMVz41Tn6arwzgUHld/kmPKrfLH/SCqV/
qRm9+rJVIPyL5SfRyV5jC70HKl7D/q8Q1jneimYhEOlzH+XDZt8L57eO6A0joGaP
RfXP41PUvE2Dvyw9Yy1zAYO7cRkiScIhzIZkSBNZ/SW3Pz0Kkp3TvgPZTUcA4JBb
WVJkKuINzQrGXftCBbhobHGYwXf2qXZ+5AkWa1P0ife+ESNWevw=
=Ankf
-----END PGP SIGNATURE-----