]> git.ipfire.org Git - thirdparty/git.git/commit - repository.c
repository: require a build flag to use SHA-256
authorbrian m. carlson <sandals@crustytoothpaste.net>
Sat, 22 Feb 2020 20:17:30 +0000 (20:17 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 24 Feb 2020 17:33:21 +0000 (09:33 -0800)
commit94127599252d85e85571ecde740ea97e59e4bede
tree406c9dca8c4fa051dc31b43228c87bbf0a2e34dd
parent61e2a70ff26f83f761fa36e0cc16996878d8dd59
repository: require a build flag to use SHA-256

At this point, SHA-256 support is experimental and some behavior may
change. To avoid surprising unsuspecting users, require a build flag,
ENABLE_SHA256, to allow use of a non-SHA-1 algorithm. Enable this flag
by default when the DEVELOPER make flag is set so that contributors can
test this case adequately.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
config.mak.dev
repository.c