Re: [PATCH v2 13/19] streaming: get rid of `the_repository`
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Nov 21, 2025, 19:42 UTC
- Message-ID
- <xmqqh5un41fv.fsf@gitster.g>
- In-Reply-To
- <20251121-b4-pks-odb-read-stream-v2-13-ca8534963150@pks.im>
Patrick Steinhardt <ps@pks.im> writes:
Show 11 quoted lines
> diff --git a/streaming.h b/streaming.h > index f5ff5d7ac9..1a3de6812e 100644 > --- a/streaming.h > +++ b/streaming.h > @@ -7,6 +7,7 @@ > #include "object.h" > > /* opaque */ > +struct object_database; > struct odb_read_stream; > struct stream_filter;
Extremely minor, but "opaque" used to refer to the fact that "struct git_istream" is opaque to the users of this API. In a later step you'll remove the opaque comment (perhaps your change in that step will stop it being opaque?), but until then, you'd want to keep the comment next to "struct odb_read_stream", as it is my understanding that object_database is not opaque here.