From: Junio C Hamano Date: Fri, 26 Jan 2024 16:54:47 +0000 (-0800) Subject: Merge branch 'kh/maintenance-use-xdg-when-it-should' X-Git-Tag: v2.44.0-rc0~51 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=12ee4ed50656a8d21ac86204d5ae2b7888b377ee;p=thirdparty%2Fgit.git Merge branch 'kh/maintenance-use-xdg-when-it-should' When $HOME/.gitignore is missing but XDG config file available, we should write into the latter, not former. "git gc" and "git maintenance" wrote into a wrong "global config" file, which have been corrected. * kh/maintenance-use-xdg-when-it-should: maintenance: use XDG config if it exists config: factor out global config file retrieval config: rename global config function config: format newlines --- 12ee4ed50656a8d21ac86204d5ae2b7888b377ee