Files
git/Documentation
Huynh Khoi Nguyen Nguyen 0e8593dc5b config: write to $XDG_CONFIG_HOME/git/config file when appropriate
Teach git to write to $XDG_CONFIG_HOME/git/config if

 - it already exists,
 - $HOME/.gitconfig file doesn't, and
 - The --global option is used.

Otherwise, write to $HOME/.gitconfig when the --global option is
given, as before.

If the user doesn't create $XDG_CONFIG_HOME/git/config, there is
absolutely no change. Users can use this new file only if they want.

If $XDG_CONFIG_HOME is either not set or empty, $HOME/.config/git/config
will be used.

Advice for users who often come back to an old version of Git: you
shouldn't create this file.

Signed-off-by: Huynh Khoi Nguyen Nguyen <Huynh-Khoi-Nguyen.Nguyen@ensimag.imag.fr>
Signed-off-by: Valentin Duperray <Valentin.Duperray@ensimag.imag.fr>
Signed-off-by: Franck Jonas <Franck.Jonas@ensimag.imag.fr>
Signed-off-by: Lucien Kong <Lucien.Kong@ensimag.imag.fr>
Signed-off-by: Thomas Nguy <Thomas.Nguy@ensimag.imag.fr>
Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2012-06-25 09:06:15 -07:00
..
2012-03-28 08:47:23 -07:00
2009-10-01 08:21:35 -04:00
2012-06-21 14:52:23 -07:00
2011-08-08 09:30:12 -07:00
2012-06-19 11:35:19 -07:00
2012-04-20 15:49:16 -07:00
2012-05-03 15:13:31 -07:00
2012-06-19 11:35:19 -07:00
2012-03-05 11:32:19 -08:00
2011-12-12 11:52:31 -08:00
2012-05-07 13:28:34 -07:00
2011-09-06 11:42:12 -07:00
2011-05-19 10:55:54 -07:00
2011-03-11 10:59:16 -05:00
2012-04-27 09:26:39 -07:00
2012-06-21 14:43:59 -07:00
2010-07-05 13:39:02 -07:00
2012-06-19 11:35:19 -07:00
2012-06-08 08:32:20 -07:00
2010-07-20 16:59:17 -07:00
2012-06-19 11:35:19 -07:00