On Sun, Dec 17, 2017 at 10:40 PM, Jeff King wrote:
> On Sun, Dec 17, 2017 at 08:03:41PM -0800, Jacob Keller wrote:
>
>> I do find it a bit weird that --global writes to one of either file,
>> and doesn't read from both. I'd rather have --global "only" be
>> .gitconfig, and instead
Yaroslav Halchenko writes:
> On Mon, 18 Dec 2017, Jeff King wrote:
>
>> To complete that abstraction it seems like reading via "--global" should
>> read from both (in the same precedence order that normal config lookup
>> uses).
>
> FWIW +1 from me on that ;)
FWIW I do not
On Mon, 18 Dec 2017, Jeff King wrote:
> To complete that abstraction it seems like reading via "--global" should
> read from both (in the same precedence order that normal config lookup
> uses).
FWIW +1 from me on that ;)
--
Yaroslav O. Halchenko
Center for Open Neuroscience
On Sun, Dec 17, 2017 at 08:03:41PM -0800, Jacob Keller wrote:
> I do find it a bit weird that --global writes to one of either file,
> and doesn't read from both. I'd rather have --global "only" be
> .gitconfig, and instead add a new option for handling XDG file, and
> then have it such that it
On Sat, Dec 16, 2017 at 2:01 PM, brian m. carlson
wrote:
> On Mon, Dec 11, 2017 at 05:05:01PM -0800, Junio C Hamano wrote:
>> Jonathan Nieder writes:
>> > As for "git config --global", I think the best thing would be to split
>> > it into two
On Mon, Dec 11, 2017 at 05:05:01PM -0800, Junio C Hamano wrote:
> Jonathan Nieder writes:
> > As for "git config --global", I think the best thing would be to split
> > it into two options: something like "git config --user" and "git
> > config --xdg-user". That way, it is
On Tue, Dec 12, 2017 at 6:13 AM, Yaroslav Halchenko wrote:
>
> On Mon, 11 Dec 2017, Junio C Hamano wrote:
>
>> Jonathan Nieder writes:
>
>> > I think the documentation
>
>> > ~/.gitconfig
>> > User-specific configuration file. Also called
On Tue, Dec 12, 2017 at 11:36 AM, Junio C Hamano wrote:
> Jacob Keller writes:
>
>>> I actually thought that the plan was "you either have this, or the
>>> other one, never both at the same time" (and I think those who
>>> pushed the XDG thing in to the
Jacob Keller writes:
>> I actually thought that the plan was "you either have this, or the
>> other one, never both at the same time" (and I think those who
>> pushed the XDG thing in to the system made us favor it over the
>> traditional one). So as long as --global
On Mon, 11 Dec 2017, Junio C Hamano wrote:
> Jonathan Nieder writes:
> > I think the documentation
> > ~/.gitconfig
> > User-specific configuration file. Also called "global"
> > configuration file.
> > should be clarified --- e.g. it could say
On Mon, Dec 11, 2017 at 5:05 PM, Junio C Hamano wrote:
> Jonathan Nieder writes:
>
>> I think the documentation
>>
>> ~/.gitconfig
>> User-specific configuration file. Also called "global"
>> configuration file.
>>
>>
Jonathan Nieder writes:
> I think the documentation
>
> ~/.gitconfig
> User-specific configuration file. Also called "global"
> configuration file.
>
> should be clarified --- e.g. it could say
>
> $XDG_CONFIG_HOME/git/config
>
On Mon, 11 Dec 2017, Jonathan Nieder wrote:
> > Example to show that TFM outlines precedence and --global correctly:
> > $> grep xdg .gitconfig .config/git/config
> > .gitconfig:xdg-and-user = user
> > .config/git/config: xdg = xdg
> > .config/git/config: xdg-and-user = xdg
> > $> git config
Hi,
Yaroslav Halchenko wrote:
> Example to show that TFM outlines precedence and --global correctly:
>
> $> grep xdg .gitconfig .config/git/config
> .gitconfig:xdg-and-user = user
> .config/git/config: xdg = xdg
> .config/git/config: xdg-and-user = xdg
> $> git config user.xdg ; git config
Dear Git Gurus,
We [1] have got confused a bit about this recent addition of handling
$XDG_CONFIG_HOME/git/config -- is it --global or not? ;)
According to the man git-config (v 2.15.0 in debian)
--global
For writing options: write to global ~/.gitconfig file rather than
15 matches
Mail list logo