Re: Git config not working correctly with included configurations

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Apr 12, 2016 at 08:25:39AM -0300, Rudinei Goi Roecker wrote:

> I'm having a problem with included configurations in ~/.gitconfig, when
> using this command:
> 
> git config --global user.email

You need to turn on "--includes" explicitly. From "git help config" in
v2.8.0:

  --[no-]includes
    Respect include.* directives in config files when looking up
    values. Defaults to off when a specific file is given (e.g., using
    --file, --global, etc) and on when searching all config files.

> I'm using Fedora 23, git version 2.5.5

The rule above has always been the case, but the documentation made it
more clear in v2.8.0.

-Peff
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]