Open the global/XDG configuration file according to git's rules
Git allows you to store your global configuration at
$HOME/.gitconfig or $XDG_CONFIG_HOME/git/config. For backwards
compatability, the XDG file shouldn't be used unless the use has
created it explicitly. With this function you'll open the correct
one to write to.
@param out_ pointer in which to store the config object
@param config the config object in which to look
Open the global/XDG configuration file according to git's rules
Git allows you to store your global configuration at $HOME/.gitconfig or $XDG_CONFIG_HOME/git/config. For backwards compatability, the XDG file shouldn't be used unless the use has created it explicitly. With this function you'll open the correct one to write to.
@param out_ pointer in which to store the config object @param config the config object in which to look