From: Junio C Hamano <gitster@pobox.com>
To: Christian Couder <christian.couder@gmail.com>
Cc: Okhuomon Ajayi <okhuomonajayi54@gmail.com>,
git@vger.kernel.org, usmanakinyemi202@gmail.com,
siddharthasthana31@gmail.com, kaartic.sivaraam@gmail.com
Subject: Re: [Outreachy PATCH v2] negotiator/default: stop using the_repository
Date: Tue, 24 Nov 2026 07:23:30 -0800 [thread overview]
Message-ID: <xmqq8q2iw8wd.fsf@gitster.g> (raw)
In-Reply-To: <CAP8UFD31EuSF10wkSAqZxswKVvTG_m-VesbHSXZT_Df-FrqV5w@mail.gmail.com> (Christian Couder's message of "Tue, 24 Nov 2026 09:41:41 +0100")
Christian Couder <christian.couder@gmail.com> writes:
> On Tue, Nov 3, 2026 at 4:50 PM Okhuomon Ajayi <okhuomonajayi54@gmail.com> wrote:
>>
>> The default negotiator uses the_repository to parse commits,
>> clear marks, and walk refs. fetch_negotiator_init() already
>> has the repository but does not pass it down.
>>
>> Give default_negotiator_init() a repository parameter, store
>> it on the negotiation state, and use it for those calls.
>> clear_marks() receives the repository through its callback
>> data. Drop USE_THE_REPOSITORY_VARIABLE.
>>
>> Signed-off-by: Okhuomon Ajayi <okhuomonajayi54@gmail.com>
>> ---
>> Changes since v1:
>> - Put the repository first in default_negotiator_init(), as
>> Christian suggested.
>> - Pass ns to mark_common() in have_sent().
>
> Sorry for the delay in the review.
>
> This version 2 looks good to me.
Thanks for writing and reviewing. Will mark the topic as ready for
'next', then.
prev parent reply other threads:[~2026-11-24 15:23 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-27 15:34 [Outreachy PATCH] negotiator/default: stop using the_repository Okhuomon Ajayi
2026-11-03 11:50 ` Christian Couder
2026-11-03 12:12 ` Okhuomon Ajayi
2026-11-03 15:50 ` [Outreachy PATCH v2] " Okhuomon Ajayi
2026-11-23 9:29 ` Okhuomon Ajayi
2026-11-24 8:41 ` Christian Couder
2026-11-24 8:47 ` Okhuomon Ajayi
2026-11-24 15:23 ` Junio C Hamano [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=xmqq8q2iw8wd.fsf@gitster.g \
--to=gitster@pobox.com \
--cc=christian.couder@gmail.com \
--cc=git@vger.kernel.org \
--cc=kaartic.sivaraam@gmail.com \
--cc=okhuomonajayi54@gmail.com \
--cc=siddharthasthana31@gmail.com \
--cc=usmanakinyemi202@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.