On 2023-11-12 13:10, Félix Piédallu wrote:
## Default to XDG paths instead of home directory It would just swap the priority of the two possible paths. It would also only impact new installations as, if ~/.gitconfig exists, it would keep being used.
Quite frankly, some configuration files should remain in $HOME, and ~/.gitconfig is IMHO one of those. It's used very frequently, not only directly, but also while discussing or explaining various configuration features or issues. Thus, moving it somewhere else would only make things more complicated and worse.
IOW, I think that the order/priority shouldn't be changed.