From 6cf65440d39250880e747d2c5281881e95eb9499 Mon Sep 17 00:00:00 2001 From: Justin Tobler Date: Thu, 3 Apr 2025 09:05:29 -0500 Subject: [PATCH] help: include unsafe SHA-1 build info in version In 06c92dafb8 (Makefile: allow specifying a SHA-1 for non-cryptographic uses, 2024-09-26), support for unsafe SHA-1 is added. Add the unsafe SHA-1 build info to `git version --build-info` and update corresponding documentation. Signed-off-by: Justin Tobler Signed-off-by: Junio C Hamano --- Documentation/git-version.adoc | 4 +++- hash.h | 3 +++ help.c | 4 ++++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/Documentation/git-version.adoc b/Documentation/git-version.adoc index 913ebf147d..9462043a14 100644 --- a/Documentation/git-version.adoc +++ b/Documentation/git-version.adoc @@ -27,7 +27,9 @@ The libraries used to implement the SHA-1 and SHA-256 algorithms are displayed in the form `SHA-1: