From: Patrick Steinhardt Date: Tue, 07 Jul 2026 14:26:36 GMT Subject: Re: [PATCH 3/7] hash: document function pointers and wrappers Message-ID: In-Reply-To: <20260707050557.GC1288294@coredump.intra.peff.net> On Tue, Jul 07, 2026 at 01:05:57AM -0400, Jeff King wrote: > diff --git a/hash.h b/hash.h > index 0a23ef4dfd..5686914b71 100644 > --- a/hash.h > +++ b/hash.h > @@ -341,12 +334,40 @@ struct git_hash_algo { > }; > extern const struct git_hash_algo hash_algos[GIT_HASH_NALGOS]; > > +/* > + * Prepare an uninitialized hash context for use. You must eventually release > + * the context with with git_hash_final() (or final_oid()) or by calling s/with with/with/ Patrick