Re: [GSoC PATCH v5 1/5] repo: declare the repo command
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jul 23, 2025, 17:48 UTC
- Message-ID
- <xmqq34amol1l.fsf@gitster.g>
- In-Reply-To
- <ABD6739A-EBE1-4228-BDAA-600104726808@gmail.com>
Lucas Seiki Oshiro <lucasseikioshiro@gmail.com> writes:
Show 6 quoted lines
>> Besides, wouldn't it possible that field may have to contain any >> end-user specified key, including <LF>? > > In `repo info`, no. This way, it's safe to parse everything before > the first <LF> as the key and everything between <LF> and <NUL> as > the value.
OK. Even "git config" punts there by restricting the subsection part of the configuration variable name by forbidding LF and NUL in it ;-) So, I guess we are OK here.
Thanks for thinking it through.