Re: [PATCH v2 00/11] Add SHA-256 by default as a breaking change
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jul 1, 2025, 22:10 UTC
- Message-ID
- <xmqqikkbimu3.fsf@gitster.g>
- In-Reply-To
- <20250701212237.766774-1-sandals@crustytoothpaste.net>
"brian m. carlson" <sandals@crustytoothpaste.net> writes:
> Changes since v1: > * Add a build option for the default hash and use it in the tests.
WITH_BREAKING_CHANGES flips GIT_HASH_DEFAULT between SHA-1 and SHA-256 as before, but the choice is now exposed via "git help --build-options", so test-lib.sh does not have to switch based on WITH_BREAKING_CHANGES and use the build-options embedded in the binary.
Very nice.