Re: [Outreachy PATCH] notes-utils: use the passed repository for notes refs
- From
- Okhuomon Ajayi <okhuomonajayi54@gmail.com>
- Date
- Nov 2, 2026, 11:10 UTC
- Message-ID
- <CAFpMFfCkMNvFWOUsDJgRkhadd=jZX=ByavgsiYiCCuAsxiFNFA@mail.gmail.com>
- In-Reply-To
- <auhtiZ86trLamccS@pks.im>
On Mon, Nov 2, 2026 at 12:01 PM Patrick Steinhardt <ps@pks.im> wrote:
> I don't quite understand patches like this. They are _so_ close to > getting rid of `USE_THE_REPOSITORY_VARIABLE`, but then they just skip on > the final change that would make them work. I've already asked about > this on one of your preceding patches.
Thanks, Patrick. You're right, I should have gone the full way here after your comment on bundle-uri.
I'll send a v2 that also passes the repository to init_copy_notes_for_rewrite() and updates its callers, so that notes-utils.c can drop USE_THE_REPOSITORY_VARIABLE.
Show 6 quoted lines
> Also, could you maybe reduce the frequency a bit with which you send new > topics? There's a ton of in-flight patch series by you in this vicinity, > and it gets a bit overwhelming. May I ask you to maybe batch related > patches into bigger series (maybe 5-10 commits) so that the reviewer can > focus on way fewer patch series overall, and then have less series in > flight at the same point in time?
Sorry about that. I'll stop sending new topics for now, and batch related conversions into one series from now on.
Thanks, Okhuomon
On Mon, Nov 2, 2026 at 12:01 PM Patrick Steinhardt <ps@pks.im> wrote:
Show 25 quoted lines
> > On Sat, Oct 31, 2026 at 11:45:26AM +0100, Okhuomon Ajayi wrote: > > create_notes_commit() and commit_notes() receive a repository, > > but read and update the notes ref in the_repository. > > > > Use the repository they are given. > > > > Keep USE_THE_REPOSITORY_VARIABLE because > > init_copy_notes_for_rewrite() still uses the_repository. > > I don't quite understand patches like this. They are _so_ close to > getting rid of `USE_THE_REPOSITORY_VARIABLE`, but then they just skip on > the final change that would make them work. I've already asked about > this on one of your preceding patches. > > Also, could you maybe reduce the frequency a bit with which you send new > topics? There's a ton of in-flight patch series by you in this vicinity, > and it gets a bit overwhelming. May I ask you to maybe batch related > patches into bigger series (maybe 5-10 commits) so that the reviewer can > focus on way fewer patch series overall, and then have less series in > flight at the same point in time? > > Thanks! > > Patrick