]> git.ipfire.org Git - thirdparty/git.git/commit - pack-check.c
pack-check: use given repo's hash_algo at verify_packfile()
authorMatheus Tavares <matheus.bernardino@usp.br>
Thu, 30 Jan 2020 20:32:19 +0000 (17:32 -0300)
committerJunio C Hamano <gitster@pobox.com>
Fri, 31 Jan 2020 18:45:39 +0000 (10:45 -0800)
commit5ec9b8accd6591641115d692fe2e9c4b88019d97
tree1c3b9c04c605f7504be9cb94bd1a940b65f2edb3
parenta6519467304dacb356da8a6c471d735ee6e846a4
pack-check: use given repo's hash_algo at verify_packfile()

At verify_packfile(), use the git_hash_algo from the provided repository
instead of the_hash_algo, for consistency. Like the previous patch, this
shouldn't bring any behavior changes, since this function is currently
only receiving the_repository.

Signed-off-by: Matheus Tavares <matheus.bernardino@usp.br>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
pack-check.c