Merge branch 'es/chainlint-ncores-fix' into maint-2.45
commit903b4da27fdf9dbcc8d2b59c846fcfa90882d6f3
authorJunio C Hamano <gitster@pobox.com>
Fri, 28 Jun 2024 22:53:15 +0000 (28 15:53 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 28 Jun 2024 22:53:15 +0000 (28 15:53 -0700)
tree2cd2842f69fe14fd886bd123afc4ef01bd3fde38
parent2988b82b87750659aae4e9b2c2452da1605ca032
parent2e7e9205beb5a745f91d0d0ce772c7b447c3aba8
Merge branch 'es/chainlint-ncores-fix' into maint-2.45

The chainlint script (invoked during "make test") did nothing when
it failed to detect the number of available CPUs.  It now falls
back to 1 CPU to avoid the problem.

* es/chainlint-ncores-fix:
  chainlint.pl: latch CPU count directly reported by /proc/cpuinfo
  chainlint.pl: fix incorrect CPU count on Linux SPARC
  chainlint.pl: make CPU count computation more robust
t/chainlint.pl