]> git.ipfire.org Git - thirdparty/openssl.git/commit
check-format-commit: call fewer unneeded processes
authorBeat Bolli <dev@drbeat.li>
Sat, 17 Aug 2024 15:34:14 +0000 (17:34 +0200)
committerDr. David von Oheimb <dev@ddvo.net>
Sat, 26 Oct 2024 17:35:26 +0000 (19:35 +0200)
commit82751294c480ade5ded0822c9f0b964f414cf6cb
tree5e40d57c8ec26078e4adadb669cedd94bfdeea16
parent785eaa1fb586b033ed4e3aa92f7b100879b095b8
check-format-commit: call fewer unneeded processes

`wc` does not output a file name if the input is stdin.

`awk` reads its file argument; there's no need for `cat`.

`sort -u` outputs unique lines. It should be supported on all platforms,
as it's specified by POSIX.

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/25562)

(cherry picked from commit 0d6544cdf845f7950c50680059c976cb507b6e45)
util/check-format-commit.sh