Re: [Outreachy PATCH] bundle-uri: use the passed repository for refs and tracing
- From
Karthik Nayak <karthik.188@gmail.com>
- Date
- Oct 28, 2026, 11:05 UTC
- Message-ID
- <CAOLa=ZQK_ZjCj5G+rk2Cz+-hQ054uJW6Eq4NEofQLHx0jnnfWQ@mail.gmail.com>
- In-Reply-To
- <20261028093455.76247-1-okhuomonajayi54@gmail.com>
Okhuomon Ajayi <okhuomonajayi54@gmail.com> writes:
Show 5 quoted lines
> 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