From: Matthieu Moy Date: Sat, 26 May 2012 08:53:27 GMT Subject: Re: [PATCH 1/2] Add possibility to store configuration in ~/.config/git/config file Message-ID: In-Reply-To: <1337975239-17169-1-git-send-email-nguyenhu@ensibm.imag.fr> NGUYEN Huynh Khoi Nguyen writes: > + sprintf(config_path, "%s/.config/git/config", home); It's not terribly important, but if we are to use something that looks like XDG, I'd rather have a real support for it. ~/.config/ is the default, but the spec http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html also define $XDG_CONFIG_HOME that may override the default and we may want to support $XDG_CONFIG_DIRS too. -- Matthieu Moy http://www-verimag.imag.fr/~moy/