{"thread":{"id":"30642","subject":"Re: [PATCH 1/2] Add possibility to store configuration in ~/.config/git/config file","startedAt":"2012-05-28T16:16:50Z","lastAt":"2012-05-28T16:16:50Z","messageCount":1,"participants":["nguyenhu@minatec.inpg.fr"],"isPatch":true,"patchVersion":1,"patchTotal":2},"messages":[{"id":"192386","messageId":"20120528181650.Horde.R4mBK3wdC4BPw6Ty4V8EreA@webmail.minatec.grenoble-inp.fr","threadId":"30642","inReplyTo":null,"subject":"Re: [PATCH 1/2] Add possibility to store configuration in ~/.config/git/config file","fromName":"","fromEmail":"nguyenhu@minatec.inpg.fr","sentAt":"2012-05-28T16:16:50Z","receivedAt":"2012-05-28T16:16:50Z","isPatch":true,"sender":{"key":"nguyenhu@minatec.inpg.fr","avatar":null},"body":"\njaseem abid <jaseemabid@gmail.com>wrote:\n> If a new config file gets introduced at `~/.config/git/config`, what\n> will be the new order of config file precedence?\n>\n> `/etc/gitconfig` > `~/.gitconfig` > `~/.config/git/config`  >  \n> `.git/config` or\n> `/etc/gitconfig` >  `~/.config/git/config` > `~/.gitconfig` > `.git/config` ?\n>\n> What will be the new flag to access it? I mean anything new like\n> --system / --global going to be introduced?\n\nThe new order would be:\n`/etc/gitconfig` >  `~/.config/git/config` > `~/.gitconfig` > `.git/config`\n\nThere won't be new flag to access it.\nYou can access it with --global only if ~/.gitconfig doesn't exist.\n\nBut I will try to create another patch _only_ for reading first. So if  \ngit doesn't find a value in ~/.gitconfig or if this file doesn't  \nexist, git will search this value in ~/.config/git/config if this file  \nexists.\nBut for the time being, I don't know how to do it.\n"}]}