All of lore.kernel.org
 help / color / mirror / Atom feed
From: Heiko Voigt <hvoigt@hvoigt.net>
To: Felipe Contreras <felipe.contreras@gmail.com>
Cc: nguyenhu@minatec.inpg.fr, git@vger.kernel.org,
	matthieu.moy@grenoble-inp.fr,
	Valentin DUPERRAY <Valentin.Duperray@phelma.grenoble-inp.fr>,
	Franck JONAS <Franck.Jonas@phelma.grenoble-inp.fr>,
	Lucien KONG <Lucien.Kong@phelma.grenoble-inp.fr>,
	Thomas NGUY <Thomas.Nguy@phelma.grenoble-inp.fr>,
	Huynh Khoi Nguyen NGUYEN 
	<Huynh-Khoi-Nguyen.Nguyen@phelma.grenoble-inp.fr>
Subject: Re: [RFC] Possibility to choose ~/.config/git/config instead of ~/.gitconfig
Date: Sat, 26 May 2012 12:59:37 +0200	[thread overview]
Message-ID: <20120526105936.GA37540@book.hvoigt.net> (raw)
In-Reply-To: <CAMP44s32GKrmXDND3_iO6CTOgHTfeuBeXYEOjcET5bBZ067pFQ@mail.gmail.com>

Hi,

On Sat, May 26, 2012 at 12:45:52PM +0200, Felipe Contreras wrote:
> On Fri, May 25, 2012 at 6:15 PM,  <nguyenhu@minatec.inpg.fr> wrote:
> 
> > 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.
> 
> I like this, but it shouldn't be "~/.config", it should be $XDG_CONFIG_HOME.

If we do that what about a fallback to .config for operating systems
that do not have XDG? E.g. Git for Windows would then also be able to
benefit from that.

Cheers Heiko

      reply	other threads:[~2012-05-26 11:05 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120526105936.GA37540@book.hvoigt.net \
    --to=hvoigt@hvoigt.net \
    --cc=Franck.Jonas@phelma.grenoble-inp.fr \
    --cc=Huynh-Khoi-Nguyen.Nguyen@phelma.grenoble-inp.fr \
    --cc=Lucien.Kong@phelma.grenoble-inp.fr \
    --cc=Thomas.Nguy@phelma.grenoble-inp.fr \
    --cc=Valentin.Duperray@phelma.grenoble-inp.fr \
    --cc=felipe.contreras@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=matthieu.moy@grenoble-inp.fr \
    --cc=nguyenhu@minatec.inpg.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.