From: Jeff King Date: Tue, 07 Jul 2026 20:05:56 GMT Subject: Re: [PATCH 3/7] hash: document function pointers and wrappers Message-ID: <20260707200556.GA11780@coredump.intra.peff.net> In-Reply-To: On Tue, Jul 07, 2026 at 04:26:36PM +0200, Patrick Steinhardt wrote: > 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/ Thanks, looks like there are a few minor formatting nits, so I'll fix this in a v2. -Peff