All of lore.kernel.org
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: "Randall S. Becker" <rsbecker@nexbridge.com>
Cc: <git@vger.kernel.org>
Subject: Re: [Question] worktree vs. gitdir in [includeIf]
Date: Thu, 08 Jul 2021 11:11:50 -0700	[thread overview]
Message-ID: <xmqqk0m0brq1.fsf@gitster.g> (raw)
In-Reply-To: <003701d7741e$550b6510$ff222f30$@nexbridge.com> (Randall S. Becker's message of "Thu, 8 Jul 2021 13:25:59 -0400")

"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.

  reply	other threads:[~2021-07-08 18:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-08 17:25 [Question] worktree vs. gitdir in [includeIf] Randall S. Becker
2021-07-08 18:11 ` Junio C Hamano [this message]
2021-07-08 18:15   ` Randall S. Becker
2021-07-09 22:37   ` Randall S. Becker
2021-07-12 22:22   ` Randall S. Becker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=xmqqk0m0brq1.fsf@gitster.g \
    --to=gitster@pobox.com \
    --cc=git@vger.kernel.org \
    --cc=rsbecker@nexbridge.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.