Re: [PATCH] repo: zero-initialize configuration values
- From
Patrick Steinhardt <ps@pks.im>
- Date
- Nov 6, 2026, 14:16 UTC
- Message-ID
- <au3hVGPuDyGVwOw8@pks.im>
- In-Reply-To
- <pull.2298.git.1793966368860.gitgitgadget@gmail.com>
On Fri, Nov 06, 2026 at 11:59:28AM +0000, Joy via GitGitGadget wrote:
Show 9 quoted lines
> From: Joy Gundu <soniqjjj@gmail.com> > > Use memset() to initialize repository configuration values to > zero, removing the need for explicit zero and NULL assignments. > Keep non-zero defaults initialized separately. > > Signed-off-by: Joy Gundu <soniqjjj@gmail.com> > --- > [Outreachy] repo: zero-initialize configuration values
So I guess this patch was split out because of our recent push to not make further changes to `repo_config_values()`? If so, it would have made sense to point that out explicitly both here, and in the original thread that you've sent.
In any case, the patch is obviously correct and is a good improvement in my opinion. So this looks good to me, thanks.
Patrick