git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC] Possibility to choose ~/.config/git/config instead of ~/.gitconfig
@ 2012-05-25 16:15 nguyenhu
  2012-05-25 17:01 ` Jonathan Nieder
                   ` (2 more replies)
  0 siblings, 3 replies; 26+ messages in thread
From: nguyenhu @ 2012-05-25 16:15 UTC (permalink / raw)
  To: git
  Cc: matthieu.moy, Valentin DUPERRAY, Franck JONAS, Lucien KONG,
	Thomas NGUY, Huynh Khoi Nguyen NGUYEN

Hello,

As you know, git stores its configuration in ~/.gitconfig file and in  
other hidden files at the root of the user's directory.

We would like to have a configuration directory instead of all these  
configuration files by following the XDG specification because:
- not a lot of hidden files at the root, so better view
- one directory per software in ~/.config

We would like to give to users the possibility to store configuration  
in ~/.config/git/config file.

git would store its configuration in ~/.config/git/config file if:
- this file exists,
- and ~/.gitconfig file doesn't.
Otherwise git would store its configuration in ~/.gitconfig as usual.

If you don't create ~/.config/git/config, there is no change.

What do you think about it ?

I will send you a patch today.

Thanks,

Lucien KONG,
Valentin DUPERRAY,
Huynh Khoi Nguyen NGUYEN,
Thomas NGUY,
Franck JONAS

Grenoble INP ENSIMAG

^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2012-05-26 11:05 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-25 16:15 [RFC] Possibility to choose ~/.config/git/config instead of ~/.gitconfig nguyenhu
2012-05-25 17:01 ` Jonathan Nieder
2012-05-25 17:29   ` Matthieu Moy
2012-05-25 17:44     ` Jonathan Nieder
2012-05-25 17:31 ` Hilco Wijbenga
2012-05-25 17:42   ` Jonathan Nieder
2012-05-25 17:47     ` Hilco Wijbenga
2012-05-25 18:12       ` [PATCH] config doc: remove confusion about relative GIT_DIR from FILES section Jonathan Nieder
2012-05-25 20:06         ` Jeff King
2012-05-25 18:20       ` [RFC] Possibility to choose ~/.config/git/config instead of ~/.gitconfig Junio C Hamano
2012-05-25 17:54     ` Matthieu Moy
2012-05-25 20:11       ` Jeff King
2012-05-25 18:13   ` Junio C Hamano
2012-05-25 18:25     ` Jonathan Nieder
2012-05-25 18:34       ` Junio C Hamano
2012-05-25 18:44         ` Jonathan Nieder
2012-05-25 18:58           ` Junio C Hamano
2012-05-25 19:13             ` Matthieu Moy
2012-05-25 19:17             ` Jonathan Nieder
2012-05-25 19:29               ` Matthieu Moy
2012-05-25 19:35                 ` Jonathan Nieder
2012-05-25 19:37                   ` Jonathan Nieder
2012-05-25 19:39                   ` Matthieu Moy
2012-05-25 19:01           ` Matthieu Moy
2012-05-26 10:45 ` Felipe Contreras
2012-05-26 10:59   ` Heiko Voigt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).