Junio C Hamano <gitster@xxxxxxxxx> writes: >>> I.e. we actually *do* have a repo there, we just haven't bridged the gap >>> of "ignore most of its config" so we can use config_with_options() >>> there. >> struct config_options { >> unsigned int respect_includes : 1; >> + unsigned int ignore_system : 1; >> + unsigned int ignore_global : 1; >> unsigned int ignore_repo : 1; >> + unsigned int ignore_local : 1; >> unsigned int ignore_worktree : 1; >> unsigned int ignore_cmdline : 1; >> unsigned int system_gently : 1; > > That does look (I am not sure about _local bit, though) well > organized, but I suspect that it can be left for a follow-on > clean-up series, perhaps? Makes sense, I did suggest something similar previously: https://lore.kernel.org/git/kl6ly1oze7wb.fsf@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx But I think that's a follow up series for sure.