Re: [PATCH/RFC 0/4] config: read both home and xdg files for --global
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jan 20, 2026, 20:41 UTC
- Message-ID
- <xmqq1pjkyq25.fsf@gitster.g>
- In-Reply-To
- <20251122013659.GA3947@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net>
Delilah Ashley Wu <delilahwu@linux.microsoft.com> writes:
Show 10 quoted lines
> On Fri, Oct 10, 2025 at 03:27:24AM +0200, Kristoffer Haugsbakk wrote: >> On Fri, Oct 10, 2025, at 03:14, Delilah Ashley Wu via GitGitGadget wrote: >> > 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. >> >> Note only if both files exist. > > Thanks for the clarification, I'll be sure to note this in my v2 cover > letter and commit messages.
After this and [*] the discussion stopped and the topic has been dormant since then for full two months. I'd drop the topic from 'seen' soonish but that does not mean an improved version of this patch is unwelcome.
Thanks.
[References] * https://lore.kernel.org/git/20251122020047.GB3947@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net/