diff options
author | brian m. carlson <sandals@crustytoothpaste.net> | 2020-02-22 20:17:36 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-02-24 09:33:27 -0800 |
commit | bf154a878281b6a971ece0fb6d917938298be60d (patch) | |
tree | 37bdeed2ca5d55540cc6fccb4ef1013fa95805b5 /path.h | |
parent | t/helper: initialize repository if necessary (diff) | |
download | tgif-bf154a878281b6a971ece0fb6d917938298be60d.tar.xz |
t/helper: make repository tests hash independent
This test currently hard-codes the hash algorithm as SHA-1 when calling
repo_set_hash_algo so that the_hash_algo is properly initialized.
However, this does not work with SHA-256 repositories. Read the
repository value that repo_init has read into the local repository
variable and set the algorithm based on that value.
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'path.h')
0 files changed, 0 insertions, 0 deletions