On Thu, May 08, 2025 at 09:32:00AM +0000, Klemens Nanni wrote: > 08.05.2025 11:33, Kirill A. Korinsky пишет: > > rovert@ had noticed that git out of the box uses as many threads as the > > system has CUPs. claudio@ had pointed that it is quite bad idea and use an > > example that ld.lld with -Wl,--threads=1 reduces the configure time by 15% > > and system time by 40%. > > > > So, here the diff which replaces 0 threads to 1 by default where it isn't 1 > > already, and disabled try to use threads in name-hashing. > > Just ship a default config, sysmerge(8) takes care of existing files, if any. > > This is the system wide config, see git-config(1) for details. > > Feedback? OK?
I prefer a config override to patched executables. Config files are easier to figure out for users who become curious about observed differences in behaviour. For years now we have been overriding configuration file defaults in the devel/subversion port (in that case, to disable storing plaintext passwords). It has never been an issue.