Re: [Question] worktree vs. gitdir in [includeIf]
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jul 8, 2021, 18:11 UTC
- Message-ID
- <xmqqk0m0brq1.fsf@gitster.g>
- In-Reply-To
- <003701d7741e$550b6510$ff222f30$@nexbridge.com>
"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.
Thanks.