Re: [PATCH/RFC 0/4] config: read both home and xdg files for --global
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Nov 19, 2025, 14:44 UTC
- Message-ID
- <xmqqbjkyccae.fsf@gitster.g>
- In-Reply-To
- <pull.1938.git.1760058849.gitgitgadget@gmail.com>
"Delilah Ashley Wu via GitGitGadget" <gitgitgadget@gmail.com> writes:
> As reported in [1]: `$HOME/.gitconfig` and `$XDG_CONFIG_HOME/git/config` are > both valid global config locations, but `git config list --global` only > includes the former in its output.
... while "git config list" includes both, which is an inconsistency without good reason.
Thanks for addressing this issue. I haven't had a chance to look at these patches yet, but both analysis and Glen's outline for the best approach presented in the thread [1] do look very sensible.
What is the reason behind [RFC] in the title? Are there things that are iffy yourself in the patches that reviewers want to pay special attention to?
Thanks.