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

Re: [Outreachy PATCH] negotiator/default: stop using the_repository

From
OAOkhuomon Ajayi <okhuomonajayi54@gmail.com>
Date
Nov 3, 2026, 12:12 UTC
Message-ID
<CAFpMFfDeGJGbdCx-boKAe_Ab6oPuW-aunrdqAjtSkgqgWyhqrw@mail.gmail.com>
In-Reply-To
<CAP8UFD1BW7qEWp87j+7B12d=eOu80Yv1=Gf+ibEriV9s=4umag@mail.gmail.com>

On Tue, Nov 3, 2026 at 12:50 PM Christian Couder <christian.couder@gmail.com> wrote:

> As you introduced `ns`, you might use it to simplify the above line using:
>
>          mark_common(ns, c, 0, 0);
Good point. I'll make that change in the next version.
> Many functions have their `struct repository *r` argument as their
> first argument. Is there a reason why you prefered to have it as the
> second argument?

No particular reason. I'll put the repository argument first in the next version.

Thanks!
Previous: Christian CouderNext: Okhuomon Ajayi
Message 3 of 4 in “negotiator/default: stop using the_repository”
  1. negotiator/default: stop using the_repositoryOkhuomon Ajayi, Oct 27, 2026
  2. Christian CouderNov 3, 2026
  3. Okhuomon AjayiNov 3, 2026
  4. negotiator/default: stop using the_repositoryOkhuomon Ajayi, Nov 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.