http: compute hash of downloaded objects using the_hash_algo

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
brian m. carlson
2019-02-19 00:05:14 +00:00
committed by Junio C Hamano
parent ae041a0f9a
commit eed0e60f02
2 changed files with 6 additions and 6 deletions

2
http.h
View File

@ -225,7 +225,7 @@ struct http_object_request {
long http_code;
struct object_id oid;
struct object_id real_oid;
git_SHA_CTX c;
git_hash_ctx c;
git_zstream stream;
int zret;
int rename;