Subject: Re: [Question] worktree vs. gitdir in [includeIf]

From: Junio C Hamano <[email-masked]>
Date: Thu, 08 Jul 2021 11:11:50 -0700

"Randall S. Becker" <[email-masked]> 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.