git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jeff King <peff@peff.net>
To: Rudinei Goi Roecker <rudineigr@itflex.com.br>
Cc: git@vger.kernel.org
Subject: Re: Git config not working correctly with included configurations
Date: Tue, 12 Apr 2016 11:50:01 -0400	[thread overview]
Message-ID: <20160412155000.GA21249@sigill.intra.peff.net> (raw)
In-Reply-To: <assp.0910338c53.570CDB33.9020300@itflex.com.br>

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

  parent reply	other threads:[~2016-04-12 15:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-12 11:25 Git config not working correctly with included configurations Rudinei Goi Roecker
2016-04-12 13:02 ` John Keeping
2016-04-12 15:50 ` Jeff King [this message]
2016-04-12 16:03   ` Rudinei Goi Roecker
     [not found] <570CDB33.9020300@itflex.com.br>
     [not found] ` <570CE289.2000808@atlas-elektronik.com>
2016-04-12 11:58   ` Fwd: " stefan.naewe
2016-04-12 12:13   ` Rudinei Goi Roecker

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=20160412155000.GA21249@sigill.intra.peff.net \
    --to=peff@peff.net \
    --cc=git@vger.kernel.org \
    --cc=rudineigr@itflex.com.br \
    /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 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).