summaryrefslogtreecommitdiff
path: root/check_bindir
diff options
context:
space:
mode:
authorbrian m. carlson <sandals@crustytoothpaste.net>2020-02-22 20:17:36 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-02-24 17:33:27 (GMT)
commitbf154a878281b6a971ece0fb6d917938298be60d (patch)
tree37bdeed2ca5d55540cc6fccb4ef1013fa95805b5 /check_bindir
parent8dca7f30e4e5da31b375ecaeeac995305c9c0c5c (diff)
downloadgit-bf154a878281b6a971ece0fb6d917938298be60d.zip
git-bf154a878281b6a971ece0fb6d917938298be60d.tar.gz
git-bf154a878281b6a971ece0fb6d917938298be60d.tar.bz2
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 'check_bindir')
0 files changed, 0 insertions, 0 deletions