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=0.7 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_CSS,URIBL_CSS_A 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 5573F1F852 for ; Wed, 9 Feb 2022 18:42:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240198AbiBISlh (ORCPT ); Wed, 9 Feb 2022 13:41:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55828 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240286AbiBISkc (ORCPT ); Wed, 9 Feb 2022 13:40:32 -0500 Received: from pb-smtp1.pobox.com (pb-smtp1.pobox.com [64.147.108.70]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8352EC0401EF for ; Wed, 9 Feb 2022 10:40:08 -0800 (PST) Received: from pb-smtp1.pobox.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 9795110F06C; Wed, 9 Feb 2022 13:40:07 -0500 (EST) (envelope-from junio@pobox.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=mRFAOeCiIy5gi+72CBo5rbciRwoH8QTL6Ktqez 1kiZg=; b=hy7lzQ8DvxQE0ZLO5vstAVUXlksRtT0ZcjyHIagT5bKFbXLJI2K0Zc mVzpLiCxaLSSSglB14VpALQcZOlE4hYZbV6g7AGrCZZo/GEEhp0CaJWfAswq0K6i Sfrvum0lmdgyN5nMyUBD1riI2ov0yhJABAogXOkaF9pCo1B1LRths= Received: from pb-smtp1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 7648610F06B; Wed, 9 Feb 2022 13:40:07 -0500 (EST) (envelope-from junio@pobox.com) Received: from pobox.com (unknown [35.185.212.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp1.pobox.com (Postfix) with ESMTPSA id 5EFDF10F06A; Wed, 9 Feb 2022 13:40:05 -0500 (EST) (envelope-from junio@pobox.com) From: Junio C Hamano To: Elijah Newren , Han-Wen Nienhuys Cc: Derrick Stolee , Derrick Stolee via GitGitGadget , Git Mailing List , Eric Sunshine , Sean Allred , Bagas Sanjaya , =?utf-8?Q?Jean-No=C3=ABl?= AVILA , Derrick Stolee , Derrick Stolee Subject: Re: [PATCH v6 1/6] Documentation: add extensions.worktreeConfig details References: <0260ff6cac0c76c6d66187d77defef1edd4c6fb5.1644269583.git.gitgitgadget@gmail.com> <11bf1541-c46a-fcf5-f8d4-0d144b942d59@gmail.com> Date: Wed, 09 Feb 2022 10:40:03 -0800 In-Reply-To: (Elijah Newren's message of "Wed, 9 Feb 2022 09:51:46 -0800") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Pobox-Relay-ID: B2E92B8E-89D7-11EC-98F2-5E84C8D8090B-77302942!pb-smtp1.pobox.com Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Elijah Newren writes: > But testing just now, I think the pseudorefs are already per-worktree. > I just did a merge in a secondary worktree, and then observed from the > primary worktree that a .git/worktrees//MERGE_HEAD was created, > not a .git/MERGE_HEAD. (Maybe the glossary could just spell out that > these are under $GIT_DIR and _not_ $GIT_COMMON_DIR to avoid potential > confusion?) I actually think the longer-term direction is to describe that these are always per-worktree, without referring to $GIT_DIR or giving any hints that these may be represented as a file in the filesystem. That would leave the door open for the reftable backend to take them over as well as the normal refs.