summaryrefslogtreecommitdiff
path: root/commit.c
diff options
context:
space:
mode:
authorJohn Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>2024-05-20 15:01:30 -0400
committerJunio C Hamano <gitster@pobox.com>2024-05-22 11:58:40 -0700
commit45db5ed3b2f9f1c4768633f3d691bbe1305cf9ca (patch)
tree6a6fa5fed5fb655f1cd1ca013faa993cbd27362d /commit.c
parent037348e99ada4d819460326c21d6cebe6338bfe6 (diff)
chainlint.pl: fix incorrect CPU count on Linux SPARC
On SPARC systems running Linux, individual processors are denoted with "CPUnn:" in /proc/cpuinfo instead of the usual "processor : NN". As a result, the regexp in ncores() matches 0 times. Address this shortcoming by extending the regexp to also match lines with "CPUnn:". Signed-off-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> [es: simplified regexp; tweaked commit message] Signed-off-by: Eric Sunshine <sunshine@sunshineco.com> Tested-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions