From: Patrick Steinhardt Date: Fri, 03 Jul 2026 11:27:23 GMT Subject: Re: [PATCH 2/9] hash: add discard primitive Message-ID: In-Reply-To: <20260702075953.GB2029434@coredump.intra.peff.net> On Thu, Jul 02, 2026 at 03:59:53AM -0400, Jeff King wrote: > diff --git a/hash.c b/hash.c > index e925b9754e..63672a3d22 100644 > --- a/hash.c > +++ b/hash.c > @@ -283,6 +283,18 @@ void git_hash_final_oid(struct object_id *oid, struct git_hash_ctx *ctx) > ctx->algop->final_oid_fn(oid, ctx); > } > > +void git_hash_discard(struct git_hash_ctx *ctx) As the resident naming czar: shouldn't this rather be called `git_hash_release()`? Patrick