Re: What is XDG_CONFIG_HOME for exactly?

2015-03-16 Thread Matthieu Moy
> On Sun, Mar 15, 2015 at 6:37 PM, Robert Dailey > wrote: >> My understanding is that git reads the priority of configuration as follows: >> >> 1. /.git/config >> 2. $HOME/.gitconfig >> 3. $XDG_CONFIG_HOME/git/config $HOME/.gitconfig is the traditional Unix location for config files. It was the

Re: What is XDG_CONFIG_HOME for exactly?

2015-03-15 Thread Robert Dailey
Sorry for the continuous updates... it seems I spoke too soon. This works until you CD into a repository, then none of the settings are accessible. So yeah, basically I need to make sure I'm using this as intended... I still don't understand the purpose of the XDG thing. On Sun, Mar 15, 2015 at 6:

Re: What is XDG_CONFIG_HOME for exactly?

2015-03-15 Thread Robert Dailey
As a follow-up, I tested the following in my .bashrc: # Utilize different GIT settings based on platform if [[ $OSTYPE == 'msys' || $OSTYPE == 'cygwin' ]]; then echo 'Using WINDOWS specific git settings' export XDG_CONFIG_HOME=.config-windows else echo 'Using LINUX specific git settin

What is XDG_CONFIG_HOME for exactly?

2015-03-15 Thread Robert Dailey
My understanding is that git reads the priority of configuration as follows: 1. /.git/config 2. $HOME/.gitconfig 3. $XDG_CONFIG_HOME/git/config 4. system level git config (not sure exactly where this is; not relevant to me on Windows) I have a .gitconfig in Dropbox that I symlink to my home direc