From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9FA1CC433F5 for ; Wed, 9 Feb 2022 18:43:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240416AbiBISnC (ORCPT ); Wed, 9 Feb 2022 13:43:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34246 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240480AbiBISmS (ORCPT ); Wed, 9 Feb 2022 13:42:18 -0500 Received: from pb-smtp2.pobox.com (pb-smtp2.pobox.com [64.147.108.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4B435C0401EA for ; Wed, 9 Feb 2022 10:41:53 -0800 (PST) Received: from pb-smtp2.pobox.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id 96479FCEE9; Wed, 9 Feb 2022 13:41:52 -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=Z7SuEpoxbTNPmr1Cgwpcfyg2ld49hCQdax1yPh rRIxc=; b=njBpoE5hEw1KYuxJtK/yOehMgpHvZedB2ARRvckWrDSpY6t9jx3Iog LDsTizTWq9crP2h3wBuw4zoy0cB+8aTLQuEe2bIdGy4BnqNnFuXdiI8EMYmC7xhn OPooRATnzqGJNPI5zgcxOxcAfCzG2893EiJS8xuEdwyyOTliZkh34= Received: from pb-smtp2.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id 8DEF7FCEE8; Wed, 9 Feb 2022 13:41:52 -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-smtp2.pobox.com (Postfix) with ESMTPSA id 03F5BFCEE7; Wed, 9 Feb 2022 13:41:51 -0500 (EST) (envelope-from junio@pobox.com) From: Junio C Hamano To: Elijah Newren Cc: Derrick Stolee via GitGitGadget , Git Mailing List , Derrick Stolee , 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> Date: Wed, 09 Feb 2022 10:41:50 -0800 In-Reply-To: (Elijah Newren's message of "Wed, 9 Feb 2022 10:04:07 -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: F2759170-89D7-11EC-AAFB-CB998F0A682E-77302942!pb-smtp2.pobox.com Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Elijah Newren writes: >> [[def_per_worktree_ref]]per-worktree ref:: >> - Refs that are per-<>, rather than >> + Refs that are per-<>, rather than >> global. This is presently only <> and any refs >> that start with `refs/bisect/`, but might later include other >> unusual refs. >> @@ -669,3 +669,12 @@ The most notable example is `HEAD`. >> The tree of actual checked out files. The working tree normally >> contains the contents of the <> commit's tree, >> plus any local changes that you have made but not yet committed. >> + >> +[[def_work_tree]]worktree:: >> + A repository can have zero (i.e. bare repository) or one or >> + more worktrees attached to it. One "worktree" consists of a >> + "working tree" and repository metadata, most of which are >> + shared among other worktrees of a single repository, and >> + some of which are maintained separately per worktree >> + (e.g. the index, HEAD, per-worktree refs and per-worktree >> + configuration file) > > We could also add pseudorefs to the list of things maintained > separately in the final parenthetical comment, but otherwise looks > good. I think what needs updating is the per_worktree_ref section. Before we say "later include other unusual refs", not so unusual pseudorefs can be mentioned there.