From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS53758 23.128.96.0/24 X-Spam-Status: No, score=-3.8 required=3.0 tests=AWL,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE, SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by dcvr.yhbt.net (Postfix) with ESMTP id 2C7681F8C6 for ; Mon, 12 Jul 2021 22:22:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231793AbhGLWZW (ORCPT ); Mon, 12 Jul 2021 18:25:22 -0400 Received: from elephants.elehost.com ([216.66.27.132]:31853 "EHLO elephants.elehost.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229725AbhGLWZV (ORCPT ); Mon, 12 Jul 2021 18:25:21 -0400 X-Virus-Scanned: amavisd-new at elehost.com Received: from gnash (cpe00fc8d49d843-cm00fc8d49d840.cpe.net.cable.rogers.com [173.33.197.34]) (authenticated bits=0) by elephants.elehost.com (8.15.2/8.15.2) with ESMTPSA id 16CMMSNk031938 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 12 Jul 2021 18:22:29 -0400 (EDT) (envelope-from rsbecker@nexbridge.com) From: "Randall S. Becker" To: "'Junio C Hamano'" Cc: References: <003701d7741e$550b6510$ff222f30$@nexbridge.com> In-Reply-To: Subject: RE: [Question] worktree vs. gitdir in [includeIf] Date: Mon, 12 Jul 2021 18:22:22 -0400 Message-ID: <013601d7776c$65f901b0$31eb0510$@nexbridge.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 16.0 Content-Language: en-ca Thread-Index: AQK3SQbvmkVoL9DL4YlGVMllr3mw1QEu7AHWqXbOlWA= Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org On July 8, 2021 2:12 PM, Junio C Hamano wrote: >Subject: Re: [Question] worktree vs. gitdir in [includeIf] >"Randall S. Becker" 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.