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

Re: Git Conditional Includes Question (possible bug?)

From
CHColton Hurst <colton@coltonhurst.com>
Date
Jan 31, 2021, 04:23 UTC
Message-ID
<B569AC8C-8AF3-46E6-B8FB-A6EBEF42FA00@coltonhurst.com>
In-Reply-To
<xmqqlfcbs69z.fsf@gitster.c.googlers.com>
Junio,
Show 8 quoted lines
> as "git config --help" says:
> 
> * If the pattern ends with `/`, `**` will be automatically added. For
>   example, the pattern `foo/` becomes `foo/**`. In other words, it
>   matches "foo" and everything inside, recursively.
> 
> and "~/colton/github/**" as a pattern would match the path to the
> repository in question.
That solved the issue. My email was in the subdirectory config files, but not having the `/` at the end of the path ruined it. Thank you so much for the help!
Have a great day and weekend!
Colton
Previous: Junio C Hamano
Message 3 of 3 in “Git Conditional Includes Question (possible bug?)”
  1. Colton HurstJan 29, 2021
  2. Junio C HamanoJan 29, 2021
  3. Colton HurstJan 31, 2021

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.