]> git.99rst.org Git - git.git/commit
http: use idempotent git_hash_discard()
authorJeff King <redacted>
Wed, 8 Jul 2026 03:53:02 +0000 (23:53 -0400)
committerJunio C Hamano <redacted>
Wed, 8 Jul 2026 04:56:00 +0000 (21:56 -0700)
commitf1bf9772f85c8522e09d16e662858f8de1636bda
treeac8e20bd69bbb01e0c9fe2c468df75f18532eba5
parent6728cfba89aa77b38d08154404eda65c1461bcd3
http: use idempotent git_hash_discard()

Now that it is OK to call git_hash_discard() even after finalizing the
hash, we no longer need the ctx_valid bool added by a2d8ea5a76 (http:
discard hash in dumb-http http_object_request, 2026-07-02).

Signed-off-by: Jeff King <redacted>
Signed-off-by: Junio C Hamano <redacted>
http.c
http.h
git clone https://git.99rst.org/PROJECT