Re: [RFC PATCH] config: teach `repo_config()` to allow `repo` to be NULL
- From
Usman Akinyemi <usmanakinyemi202@gmail.com>
- Date
- Mar 3, 2025, 17:37 UTC
- Message-ID
- <CAPSxiM9x=3WTmH-NSuV7Z1FtXMJ6v5B0R-zB3DOKcyiLKXy2rg@mail.gmail.com>
- In-Reply-To
- <xmqq7c58zg9w.fsf@gitster.g>
On Sun, Mar 2, 2025 at 1:15 AM Junio C Hamano <gitster@pobox.com> wrote:
Show 11 quoted lines
> > Usman Akinyemi <usmanakinyemi202@gmail.com> writes: > > > Also, about the testing, I was thinking of using the clar framework or the > > test-tool, do you have any in mind ? > > Neither of them seems a good fit for the task to me. > > Once you rewrite one of the built-in commands using this and run > "git $cmd -h" under "nongit" helper, wouldn't that be a good enough > test to future-proof the codepath?
Thanks for this.
To confirm, You meant using the "nonigt" functions in test files inside the "t/" directory?
Thanks.