Re: [PATCH 3/7] hash: document function pointers and wrappers
- From
Jeff King <peff@peff.net>
- Date
- Jul 7, 2026, 20:05 UTC
- Message-ID
- <20260707200556.GA11780@coredump.intra.peff.net>
- In-Reply-To
- <ak0MnN6sUtFimvYe@pks.im>
On Tue, Jul 07, 2026 at 04:26:36PM +0200, Patrick Steinhardt wrote:
Show 14 quoted lines
> 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