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

RE: [Question] worktree vs. gitdir in [includeIf]

From
Randall S. Becker <rsbecker@nexbridge.com>
Date
Jul 12, 2021, 22:22 UTC
Message-ID
<013601d7776c$65f901b0$31eb0510$@nexbridge.com>
In-Reply-To
<xmqqk0m0brq1.fsf@gitster.g>
On July 8, 2021 2:12 PM,  Junio C Hamano wrote:
Show 8 quoted lines
>Subject: Re: [Question] worktree vs. gitdir in [includeIf]
>"Randall S. Becker" <rsbecker@nexbridge.com> writes:
>
>> I am wondering whether there is, or are plans for, something analogous
>> to [includeIf "worktree:path"] with a similar semantic to [includeIf
>> "gitdir:path"].
>
>I do not think there currently is an implementation, nor a plan, but I offhand do not see downsides in a feature to let you
conditionally
>enable some configuration based on the location of the worktree.

I have a patch set available, but am having some issues convincing the combination of git, OpenSSL, and my ISP to talk to each other. Specifically, I'm getting "ssl3_get_record:wrong version number", on every system I'm using. Probably an operator error. I might have to manually post the patch files.

Previous: Randall S. Becker
Message 5 of 5 in “[Question] worktree vs. gitdir in [includeIf]”
  1. Randall S. BeckerJul 8, 2021
  2. Junio C HamanoJul 8, 2021
  3. Randall S. BeckerJul 8, 2021
  4. Randall S. BeckerJul 9, 2021
  5. Randall S. BeckerJul 12, 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.