diff options
author | brian m. carlson <sandals@crustytoothpaste.net> | 2020-05-25 19:59:08 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-05-27 10:07:06 -0700 |
commit | d553acebeeda584e0e749cfe04dad450c667de90 (patch) | |
tree | f8772263a2f4b2f73524b19dcc8d8d32881ce840 /git-difftool--helper.sh | |
parent | fetch-pack: parse and advertise the object-format capability (diff) | |
download | tgif-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 'git-difftool--helper.sh')
0 files changed, 0 insertions, 0 deletions