git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [Outreachy PATCH] notes-utils: use the passed repository for notes refs

From
Patrick Steinhardt <ps@pks.im>
Date
Nov 2, 2026, 11:01 UTC
Message-ID
<auhtiZ86trLamccS@pks.im>
In-Reply-To
<20261031104526.46711-1-okhuomonajayi54@gmail.com>
On Sat, Oct 31, 2026 at 11:45:26AM +0100, Okhuomon Ajayi wrote:
Show 7 quoted lines
> 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
Previous: Okhuomon AjayiNext: Okhuomon Ajayi
Message 2 of 9 in “notes-utils: use the passed repository for notes refs”
  1. notes-utils: use the passed repository for notes refsOkhuomon Ajayi, Oct 31, 2026
  2. Patrick SteinhardtNov 2, 2026
  3. Okhuomon AjayiNov 2, 2026
  4. 0/2 notes-utils: stop using the_repositoryOkhuomon Ajayi, Nov 3, 2026
  5. 1/2 notes-utils: use the passed repository for notes refsOkhuomon Ajayi, Nov 3, 2026
  6. Karthik NayakNov 3, 2026
  7. 2/2 notes-utils: pass the repository to init_copy_notes_for_rewrite()Okhuomon Ajayi, Nov 3, 2026
  8. Karthik NayakNov 3, 2026
  9. Patrick SteinhardtNov 3, 2026

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.