From: Junio C Hamano Date: Tue, 01 Apr 2025 09:47:14 GMT Subject: Re: [PATCH 1/2] help: include SHA implementation in version info Message-ID: In-Reply-To: Patrick Steinhardt writes: > Another option: we could ask the implementations themselves to define a > symbol `SHA1_BACKEND` and use it here. This would automatically ensure > that any implementation must define the symbol as we'd otherwise get a > compile error. We could also conditionally define `SHA1_UNSAFE_BACKEND` > depending on whether or not we have it. Much simpler and less error prone.