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

Re: [Outreachy PATCH] bundle-uri: use the passed repository for refs and tracing

From
Junio C Hamano <gitster@pobox.com>
Date
Oct 28, 2026, 16:36 UTC
Message-ID
<xmqqcxstbx4v.fsf@gitster.g>
In-Reply-To
<CAOLa=ZQK_ZjCj5G+rk2Cz+-hQ054uJW6Eq4NEofQLHx0jnnfWQ@mail.gmail.com>
Karthik Nayak <karthik.188@gmail.com> writes:
Show 13 quoted lines
> Okhuomon Ajayi <okhuomonajayi54@gmail.com> writes:
>
>> unbundle_from_file() receives r and unbundles the objects into
>> it, but reads and writes the refs in the_repository.
>> fetch_bundle_uri() also has r, but uses the_repository for its
>> trace2 region.
>>
>
> Looking at the callers of `unbundle_from_file()` I don't see there is a
> reason for divergence. i.e. both `r` and `the_repository` should point
> to the same repository. So this does make sense to me.
>
> Thanks
Thanks.  Will queue and mark it ready for 'next'.
Previous: Okhuomon AjayiNext: Patrick Steinhardt
Message 4 of 8 in “bundle-uri: use the passed repository for refs and tracing”
  1. bundle-uri: use the passed repository for refs and tracingOkhuomon Ajayi, Oct 28, 2026
  2. Karthik NayakOct 28, 2026
  3. Okhuomon AjayiOct 28, 2026
  4. Junio C HamanoOct 28, 2026
  5. Patrick SteinhardtOct 29, 2026
  6. Okhuomon AjayiOct 29, 2026
  7. bundle-uri: stop using the_repositoryOkhuomon Ajayi, Oct 29, 2026
  8. Patrick SteinhardtOct 29, 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.