git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Git config not working correctly with included configurations

From
Rudinei Goi Roecker <rudineigr@itflex.com.br>
Date
Apr 12, 2016, 16:03 UTC
Message-ID
<assp.09106d5289.570D1C6E.50303@itflex.com.br>
In-Reply-To
<20160412155000.GA21249@sigill.intra.peff.net>

Thanks, I didn't knew about that option, as Jeff King said, the documentation is way more explicit about how it works in 2.8.0

On 12-04-2016 12:50, Jeff King wrote:
Show 19 quoted lines
> 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
Previous: Jeff King
Message 4 of 4 in “Git config not working correctly with included configurations”
  1. Rudinei Goi RoeckerApr 12, 2016
  2. John KeepingApr 12, 2016
  3. Jeff KingApr 12, 2016
  4. Rudinei Goi RoeckerApr 12, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.