Article View: linux.kernel.git
Article #2549[PATCH v3 2/5] doc: glossary: update per-worktree refs
From: Andy Koppe
Date: Fri, 06 Nov 2026 21:31
Date: Fri, 06 Nov 2026 21:31
59 lines
13080 bytes
13080 bytes
The "per-worktree ref" entry says that only HEAD and refs under "refs/bisect/" are per-worktree, but that has been out of date since a9be29c981 (sequencer: make refs generated by the `label` command worktree-local, 2018-04-25). All root refs are per-worktree, as are refs under "refs/worktree/" and "refs/rewritten/". Pseudorefs are specific to each worktree too. Bring the list up to date, and refer to git-worktree(1) for how to access per-worktree refs of other worktrees. In the "worktree" entry, link to "per-worktree ref" instead of listing HEAD and MERGE_HEAD. Signed-off-by: Andy Koppe <andy.koppe@gmail.com> --- Documentation/glossary-content.adoc | 25 +++++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/Documentation/glossary-content.adoc b/Documentation/glossary-content.adoc index 668f309a6f..c7ab1c981f 100644 --- a/Documentation/glossary-content.adoc +++ b/Documentation/glossary-content.adoc @@ -494,10 +494,23 @@ exclude;; interface than the <<def_plumbing,plumbing>>. [[def_per_worktree_ref]]per-worktree ref:: - Refs that are per-<<def_worktree,worktree>>, rather than - global. This is presently only <<def_HEAD,HEAD>> and any refs - that start with `refs/bisect/`, but might later include other - unusual refs. + A <<def_ref,ref>> that is specific to a <<def_worktree,worktree>>, + rather than shared between all worktrees. All <<def_root_ref,root refs>>, + for example <<def_HEAD,HEAD>> and `ORIG_HEAD`, are per-worktree, as are + refs with the following prefixes: ++ +-- + - `refs/bisect/` + + - `refs/rewritten/` + + - `refs/worktree/` +-- ++ +<<def_pseudoref,Pseudorefs>> are also specific to each worktree. ++ +See "REFS" in linkgit:git-worktree[1] for how to access the +per-worktree refs of other worktrees. [[def_pseudoref]]pseudoref:: A name that can be used like a <<def_ref,ref>> to refer to an @@ -792,5 +805,5 @@ and pseudorefs. "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 and pseudorefs like MERGE_HEAD, - per-worktree refs and per-worktree configuration file). + (e.g. the index, <<def_per_worktree_ref,per-worktree refs>>, and the + per-worktree configuration file). -- 2.56.0
Technical Details
Message-ID:
<0bc902f13d89e2b6c692ae35ddfcf209b088ea0e.1794000450.git.andy.koppe@gmail.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!git+bounces-74729-linux-kernel-git=dewy.ruReferences:
<20261022212903.177261-1-andy.koppe@gmail.com> <cover.1794000450.git.andy.koppe@gmail.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!git+bounces-74729-linux-kernel-git=dewy.ru
From: andy.koppe@gmail.com (Andy Koppe)
Newsgroups: linux.kernel.git
Subject: [PATCH v3 2/5] doc: glossary: update per-worktree refs
Date: Fri, 6 Nov 2026 21:31:05 +0000
Organization: Usenet Network
Message-ID: <0bc902f13d89e2b6c692ae35ddfcf209b088ea0e.1794000450.git.andy.koppe@gmail.com>
References: <20261022212903.177261-1-andy.koppe@gmail.com> <cover.1794000450.git.andy.koppe@gmail.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
logging-data="3980898"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:n26H3gNQr3R2q+Xm54Ga84LrPO4= sha256:D+wqUuyfHTkadvuA9AvjpbPJk5ajatb7uE6adiqnghI=
sha1:GGCK0PpGvJP5fNZpVxhcPi6HuJo= sha256:n2+l6DBNvYtE1duTXt/hAlaPd7Kd8NE9JjuYG4tQjkQ=
List-ID: <git.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
by mail.dewy.ru (Postfix) with ESMTP id 3BCF1113342; Sat, 7 Nov 2026 00:36:05 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.049
X-Spam-Status: No, score=-3.049 tagged_above=-9999 required=6.31
tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
DKIM_VALID_AU=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001,
FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249,
MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
SPF_PASS=-0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
header.d=gmail.com
X-Received: from mail.dewy.ru ([127.0.0.1])
by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id 8DcJ41aN4XhX;
Sat, 7 Nov 2026 00:36:02 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=git+bounces-74729-linux-kernel-git=dewy.ru@vger.kernel.org; receiver=<UNKNOWN>
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=gmail.com
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
by mail.dewy.ru (Postfix) with ESMTPS id 398E711331B; Sat, 7 Nov 2026 00:35:54 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
by sea.lore.kernel.org (Postfix) with ESMTP id 549CB331CD; Fri, 6 Nov 2026 21:34:35 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
t=1794000875;
b=gKy5gntjeuDZ8FUPFVGxdj/28myuoTbQp5BGMkVTkJlS9MyUTZGJopul0SsvHe9RgMtX
y/liaqyJzpfOF9u03ZeZ5InDn7pQ/zB0HmAsuRomKA+8uNfBqbBmfU5F6VKF/pLK1hTs3
97od4lluxQb2lU75WOe+YK/ZVyMwczlI09Z3anI5FyZRd6IVkTDAuzRsPmMkRB2HnhAG0
H/BRPHwiqvS9XEH2yJj45CfAj4zuBI6di6lJyOjam0KIZJ+/4hu9jXZv/Wh2KcaRjWfsS
8OFnNKejoc5zV1qS44X57Fpe+tTNLV7LHIkW6P8vVaruIPxYj4GoyC9ncsIVTAeg7gA==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1794000875;
h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:
X-Google-DKIM-Signature:X-Gm-Message-State:X-Gm-Gg:X-Received:
Received:From:To:Cc:Subject:Date:Message-ID:X-Mailer:In-Reply-To:
References:X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
List-Unsubscribe:List-Owner:Precedence:MIME-Version:
Content-Transfer-Encoding;
bh=YWxU8Q5vMgwRIlwzG0fW+iDKky41CAdCWDS5L9Xi528=;
b=NydJ39o8fpS2DT78dwDU+DDKP+lUJcKsXzrdsU5/BcmmrO7m8MgAx796Cq9ucEAhu302
jRX//Ix1GBbTSx/me0yhXMNbW4dTiU6Scki7mXWnbCY9p7kDozX2J/NujzknlstCe/BOz
VVEfPay3J1GFrWMiXtmo/x13qS0sMiDeouZ/rnjat+WPyyVmzUmW3SmCxur/YkatEbhDw
Ry9ejsM+ZkuMmXRu3xgKS/LTBOTqjTsmxRyZAdvdHmHtWEwxCZZWf09mtOpKGxftVuKCZ
yUthtUcBLnZw2kB/us8iyHi9bVEy3kJgMAMHmXSE/ghUmem3DaVkgpUDUaVbjoD/GPw==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org;
dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=oZq0pwUW;
dmarc=pass header.from=gmail.com;
spf=pass smtp.mailfrom=gmail.com;
arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
by smtp.subspace.kernel.org (Postfix) with ESMTP id 2C7FE606A32C;
Fri, 6 Nov 2026 21:34:35 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (2048-bit key, unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=oZq0pwUW
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.128.53
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
t=1794000874;
b=FmXJKKTj9YTXcVS+SkJxPG4narFdJBhEUVzueg4Jy0ib8kF87JYJZdML65hpwSZ6o7r6
Y2orBp56pj5ZvDZORp9nLvPvbz3YWnBwnSkRiEdqNfTRIJu6PV4epITqEzwVAyuGLAtIu
V762Djg7WVX3nIuAnVSzuZ44/cSHUeqAGvjlTjeu9sIECcEc5q5+2mDuWNq4ftCP1i38M
6hLi26BPTRby/kh4sM2hn3+yj6In5dNynzXn0T+aYsFd3ycA4PmVNgstTxdxiMWNzVvtP
Rd8Rm+ts9+GuuPh0OW3TcHtpL1ZfevfERmcPw4W3cJ1H3s7UmStioFeDeHKqBteXOqw==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1794000874;
h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature:
X-Gm-Message-State:X-Gm-Gg:X-Received:Received:From:To:Cc:Subject:
Date:Message-ID:X-Mailer:In-Reply-To:References:MIME-Version:
Content-Transfer-Encoding;
bh=YWxU8Q5vMgwRIlwzG0fW+iDKky41CAdCWDS5L9Xi528=;
b=zWsI5se4cJVCTP0npWsf7m24/mMuZPsyI0+v4YScCVaSIily624S/ECQCyOxL5IjKN5y
YGPjXDK+tiVLl87OOyHVLMxG+BpWmt/pDZczPwYLTj3JpwZcYHkP1i9PhnwjrasrXzZ2g
fANzaDgZwByw7SzHurS7EeG7muzUqarQHw3rGf5xbH4CnjaR29P1LKX+QfiJ8bEYT9isM
AKv6ShgUMZWwYRXfFOxZeWWs+NJ8HSe5FWbJ0t26blKIEQ/LoOcQ/0eD9eRUDydJ1euH1
WSXxOmk4WX7zmeh/v2CdGWv+Bu21z56xroXTj7YBGjhC0/sY27DeY46eYz24UBn2HtQ==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org;
dmarc=pass header.from=gmail.com;
spf=pass smtp.mailfrom=gmail.com;
dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=oZq0pwUW;
arc=none smtp.remote-ip=209.85.128.53
X-Received: from mail-wm1-f53.google.com (mail-wm1-f53.google.com [209.85.128.53])
(using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
(No client certificate requested)
by smtp.subspace.kernel.org (Postfix) with ESMTPS id EA283606A326
for <git@vger.kernel.org>; Fri, 6 Nov 2026 21:34:33 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org EA283606A326
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com
X-Received: by mail-wm1-f53.google.com with SMTP id 5b1f17b1804b1-4a1fbd52ab6so7629415e9.0
for <git@vger.kernel.org>; Fri, 06 Nov 2026 13:34:33 -0800 (PST)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20260707; t=1794000872; x=1794605672; darn=vger.kernel.org;
h=content-transfer-encoding:mime-version:references:in-reply-to
:message-id:date:subject:cc:to:from:from:to:cc:subject:date
:message-id:reply-to:content-type;
bh=YWxU8Q5vMgwRIlwzG0fW+iDKky41CAdCWDS5L9Xi528=;
b=oZq0pwUWosVZcWeDt16ZX9ylg1M0gdQ5wdVTWaG4WdWS20+QmDNVuKhqRFt4/BtIoa
tBGvH5ZPTwXSCWw01V1/CcUuqF3PwKOuMj3AkZ8a0clU6f6JR89rDLrpf5XcQ32QaBhJ
Z8sDqtuLd+xP/zEtG90/rtSPn6a0Ksfj4cF6wDKDbcYqWKpc75kL0blASz2dSOH7qtW5
c+tNRoV1RcfHbXJ1xE8CR+OcXjl3HDpOoc9ET96+VWsHWHSsKUsdbZG3QxstNR22u/3b
kOJeIvh+4rkBgVPCbzPZPORvxmDeQZW6CrXVsEUanJ/efxbqjO6nTKeV2BCD4l7kTUAk
ks0Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1794000872; x=1794605672;
h=content-transfer-encoding:mime-version:references:in-reply-to
:message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from
:to:cc:subject:date:message-id:reply-to:content-type;
bh=YWxU8Q5vMgwRIlwzG0fW+iDKky41CAdCWDS5L9Xi528=;
b=npqC5VnmX6LVnb6ZirRPpWhW0WC20YxnZzZjIfZBlkLMF3v9ByZrdxY8yZXzZntar5
e4c1ciFPyu5dkk3V7dmaDxTauPw2rI+zkEdrreObpNnwVND1EwJX/WsFiLGZ5CCevoU+
LW5IPQY35Kv6dU4Y2IKogjnEmkFcJMSVOYhLVKDTzHN+ImE51WwkN/7g0ICjKwQxq7X1
mXj+GPUNSxg3WFaEZfaVXfHSQoG44dC7c92CYngeGhT5dOkTTBFmZ9l+yj7I23B17pYB
gAK1q+dMtNr4grNy8+OiqLPz1hCNMynEkZzBhLbhLicpWoj7azL1tZ9M75iLyFuQMpvg
GM5A==
X-Gm-Message-State: APuU4Z/K7klC4lQWRhyf7tmE9+HlmWSJdgxLcAkWxtuRm3/B2W36dMdF
GdN/wE0BUgJNvCrUnh+So15jdZlzeVj6EYbAiVSbg8Ga3275v/xg+22Y1G5TU20x
X-Gm-Gg: AYBFou2i13nBwxEInvUeAh8HEL3mfEI/AGbBMerh+W8lIszMCZR+168me8N6fPzJA1P
Tqu8/ddULOL0wDkAE0CgBemVKnU0vjOgJXtplAMUx5mcWB2Jl7cVB2AK44LlW6BJSppbThMueLg
iHLAT/W//S7ked8TS46/eEv8z6Jo6KH590ymAP1kR6GB2nt6S7FrEN//s+zbWOg4gVg1KDJn0Ep
JhP0Tz8z4dJx6nAeC+zgKB4bPel+Ytds1khMSOY63R1m6MLKxU6TXk72CCtU6jrEKe9P3z6bK26
3MTtSMkoYo9qlolTsK+RJr8Skjxe0pefTgssOWcan/ANSJW/t2EZDrlwP02HvsVx1Z/q4X/aOpv
Sg/9c83sE+U7rjEHdHBt2sFKpAoqqYMkC7tNnU91XQt2i74991OSMJgS8o7Bk6n/9pGd2QZanD7
jDMsIireC3vwo02RJa1I1PzZQyb2/lNpEGBYwZdyWROJHLJwbqyi74RA30yxyvkjZjaFSyRDkB0
imfH2RPMAoK6al5uHNpjeyc5mk8Cg+/25mejXg26pB1GvTPBd/V5hjW0R5gWHJqY2bkPVafxe3n
Vstp5gzer6mqTJOQDVShOWJSAZoZZvB2qyGR+qKj05gWKqVBlBfDXpsz3Ur+jja4FRCoDgRBKgS
TXdP+xfygAuN25CIeF7I0+A==
X-Received: by 2002:a05:600c:621b:b0:4a2:190f:cf6a with SMTP id 5b1f17b1804b1-4b6dfbab213mr61343975e9.35.1794000872318;
Fri, 06 Nov 2026 13:34:32 -0800 (PST)
X-Received: from u.ad.analog.com (sgyl-40-b2-v4wan-169439-cust3365.vm6.cable.virginm.net. [92.234.157.38])
by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4b7e3271867sm9994385e9.6.2026.11.06.13.34.31
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Fri, 06 Nov 2026 13:34:31 -0800 (PST)
X-Cc: Andy Koppe <andy.koppe@gmail.com>,
Patrick Steinhardt <ps@pks.im>,
Karthik Nayak <karthik.188@gmail.com>,
Julia Evans <julia@jvns.ca>
X-Mailer: git-send-email 2.56.0
X-In-Reply-To: <cover.1794000450.git.andy.koppe@gmail.com>
X-Mailing-List: git@vger.kernel.org
X-List-Post: <mailto:git@vger.kernel.org>
X-List-Help: <mailto:git+help@vger.kernel.org>
X-List-Subscribe: <mailto:git+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:git+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:git+owner@vger.kernel.org>
X-Precedence: list