summaryrefslogtreecommitdiff
path: root/t/t5100/msg0001
diff options
context:
space:
mode:
authorLibravatar brian m. carlson <sandals@crustytoothpaste.net>2020-05-25 19:59:08 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-05-27 10:07:06 -0700
commitd553acebeeda584e0e749cfe04dad450c667de90 (patch)
treef8772263a2f4b2f73524b19dcc8d8d32881ce840 /t/t5100/msg0001
parentfetch-pack: parse and advertise the object-format capability (diff)
downloadtgif-d553acebeeda584e0e749cfe04dad450c667de90.tar.xz
setup: set the_repository's hash algo when checking format
When we're checking the repository's format, set the hash algorithm at the same time. This ensures that we perform a suitable initialization early enough to avoid confusing any parts of the code. If we defer until later, we can end up with portions of the code which are confused about the hash algorithm, resulting in segfaults when working with SHA-256 repositories. Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5100/msg0001')
0 files changed, 0 insertions, 0 deletions