On Wed, May 30, 2012 at 1:50 AM, <nguyenhu@xxxxxxxxxxxxxxx> wrote: > Patch for writing: > Git would write its configuration in $XDG_CONFIG_HOME/git/config file if: > - this file exists, > - and ~/.gitconfig file doesn't. > Otherwise git would write its configuration in ~/.gitconfig as usual. Minor suggestion: Write to $XDG_CONFIG_HOME/git/config if: - $XDG_CONFIG_HOME/git exists (and therefore is planned for use even if there is no config file within) - [etc. as before] Cheers, Victor -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html