Article View: linux.kernel.git
Article #3590[PATCH] doc: update-index: Format options correctly
From: Omri Sarig
Date: Sun, 22 Nov 2026 15:25
Date: Sun, 22 Nov 2026 15:25
51 lines
12064 bytes
12064 bytes
The update-index man page had references to several options, which were
missing the relevant markers, causing them to be formatted as text
instead of as references.
Signed-off-by: Omri Sarig <omri.sarig13@gmail.com>
---
Documentation/git-update-index.adoc | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/Documentation/git-update-index.adoc b/Documentation/git-update-index.adoc
index 9bea9fab9a..9b956216d2 100644
--- a/Documentation/git-update-index.adoc
+++ b/Documentation/git-update-index.adoc
@@ -57,21 +57,21 @@ OPTIONS
updates are needed by checking stat() information.
-q::
- Quiet. If --refresh finds that the index needs an update, the
+ Quiet. If `--refresh` finds that the index needs an update, the
default behavior is to error out. This option makes
'git update-index' continue anyway.
--ignore-submodules::
Do not try to update submodules. This option is only respected
- when passed before --refresh.
+ when passed before `--refresh`.
--unmerged::
- If --refresh finds unmerged changes in the index, the default
+ If `--refresh` finds unmerged changes in the index, the default
behavior is to error out. This option makes 'git update-index'
continue anyway.
--ignore-missing::
- Ignores missing files during a --refresh
+ Ignores missing files during a `--refresh`
--cacheinfo <mode>,<object>,<path>::
--cacheinfo <mode> <object> <path>::
@@ -145,7 +145,7 @@ you will need to handle the situation manually.
--force-remove::
Remove the file from the index even when the working directory
- still has such a file. (Implies --remove.)
+ still has such a file. (Implies `--remove`.)
--replace::
By default, when a file `path` exists in the index,
base-commit: 03b41523c576f26ad34085378717a0c1b287470f
Technical Details
Message-ID:
<20261122152538.107580-1-omri.sarig13@gmail.com>Path:
mbox-mo1.pugleaf.net!news-wdc.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!git+bounces-76095-linux-kernel-git=dewy.ruShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-wdc.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!git+bounces-76095-linux-kernel-git=dewy.ru
From: omri.sarig13@gmail.com (Omri Sarig)
Newsgroups: linux.kernel.git
Subject: [PATCH] doc: update-index: Format options correctly
Date: Sun, 22 Nov 2026 16:25:37 +0100
Organization: Usenet Network
Message-ID: <20261122152538.107580-1-omri.sarig13@gmail.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
logging-data="3665503"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:wAg8PPMoYf9RM3+DD9lsjscj4Cc= sha256:QToJ45YnwLgKhWFaAT6XUKrKT/s5xLDmm41ux7hm38g=
sha1:cPOt26/W9WyA6uls3nK8RUt0heA= sha256:VdGLSCxTof1DWVruDWwW2bYcmo1X1Wx0iSfCDX5uVjc=
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 9E5DE125D80; Sun, 22 Nov 2026 18:26:00 +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 ce54Eokpd4WB;
Sun, 22 Nov 2026 18:25:57 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=git+bounces-76095-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 DE291125D7F; Sun, 22 Nov 2026 18:25:47 +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 B54D927E39; Sun, 22 Nov 2026 15:25:45 +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=1795361145;
b=SML4ROlmSmpkWEG2CMhefUAPCnK99vv8B3CE6mBxbGZqjNPrpuyy7tu+Fwt+tBQ5BEpu
XsqvhlRk5M2/dsnO2e91RrwiRlEgpgTYLfjS412hFSwxZgXKP8K5BVSQ3di7X4KnYo3DE
PXzalLR98K2bKVVV8Lwg0HoJjMfq37HlBbcEhwVNAGgp/kdx+wm7qHA8pOCuVz0knFj/E
g2LsS7T6i+NbmFzfRlZVoU3yqfbFc4Yk3zJ86kzp3bDb+HTNlJW5Xs8tkyEH4mu943Hgl
OUO9n5UKlNiQ1USjEDYN/ZEz+DHgJLk7OZ9wpxmkay8coAlKPSJOvBkVmZK8iHuwybA==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1795361145;
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:X-Mailing-List:
List-Id:List-Post:List-Help:List-Subscribe:List-Unsubscribe:
List-Owner:Precedence:MIME-Version:Content-Transfer-Encoding;
bh=I8FZ0pEJAA3mCkzDpTG3a0ddqCkI35FvVeJmJXwsPbk=;
b=cMJP9jvkAUzy0tCNMubOAqRdEMWTPmBHIiqTeN63VxFfUUc/CMaJF9z/XnwabnElarkQ
jj/9t8mMTG6sSI1cbytIpL29VSM5lRV1pA/aTow7BVV1/29IaXC0SuwXRTn9p2kOgdAc8
yYtYACcY6Vaoyv68bPVcXrvhq7JzrapSOSoQ8bLn5fu/IhBkwHmEeRqxN3ZR//yO3I1Ny
iVGCcs4RygK6xMdypL8g7BkWe5Rac6BpIw5qX2Ch6DiBzRkpP5Edx8rNaRbExlt1wE+/p
lfPYbNFp7Hf4dfOM25ei1afeX8+LwJa2aaxqrbaAnyY4ohwCQ9XzdiZMMMGukFmGUuA==
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=gyLgy2Tt;
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 8E7A6606A335;
Sun, 22 Nov 2026 15:25:45 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=gyLgy2Tt
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.218.49
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
t=1795361144;
b=V+rzXk6Dd/J7YqMYsxw26rAknKNJRoelVgUDg+GBcPG2F4MqJpnbqjkoFLLJj72+abbL
6DgjoeTgSBIUigSBDV7rHPvn/QjLgF1Z/M6e08vGEWRp7d+PHnIxXzCcCLrh1UFTYjMyH
tPXmLgz63n8HgVqC+vl9oREdPWQ3VQxMqQKNs7nlFT2e+GWSTtB/R6vEfv2N/wS4VoWBi
XN/fRdTHR136QpXVT8XVKDWhyqrUYn3qwfkTBNqZ1utTkCB+29bAVB8Wj6MYAoP64furH
eQJSfRllEmrecfsoAiPCVca1Awz+7PDcjsngOhY/NPRv19rZheSGLgCrLaDySvPvhXw==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1795361144;
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:MIME-Version:Content-Transfer-Encoding;
bh=I8FZ0pEJAA3mCkzDpTG3a0ddqCkI35FvVeJmJXwsPbk=;
b=XaiuJwZeOb7dLgHF2G9wC2yYkumKg69Jf/EHbCM0O+vNQp7WbZ788QvoRPyQ4DsHciUe
XTDQ/MR9CEvJRtWLDlpOgdleOQGaTdfJaE++KXLYwtbgsPSXAxXkngYnQ8BdFlGxD5w09
U4ZywlrvfI4rdYVuZ8I5XRQPOqMFHgCPhdqTTko7JOjCImXx/pqf5wyt+wf+8FYiS1rDz
/1tpcQQOeHd9PID+Y4v8l8y3Y756xhL5MIr6sGLtVJWqM4/8nY43DO0PZGJvilJT895Fo
/gFTa0OH61I29Xuh11vFntGeO/NPomBvbiZ8KWfs+5X4sFYBNPKGXhofHSXpXjrVZrA==
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=gyLgy2Tt;
arc=none smtp.remote-ip=209.85.218.49
X-Received: from mail-ej1-f49.google.com (mail-ej1-f49.google.com [209.85.218.49])
(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 E10D6606A682
for <git@vger.kernel.org>; Sun, 22 Nov 2026 15:25:43 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org E10D6606A682
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-ej1-f49.google.com with SMTP id a640c23a62f3a-c513a854320so419143266b.0
for <git@vger.kernel.org>; Sun, 22 Nov 2026 07:25:43 -0800 (PST)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20260707; t=1795361142; x=1795965942; darn=vger.kernel.org;
h=content-transfer-encoding:mime-version:message-id:date:subject:cc
:to:from:from:to:cc:subject:date:message-id:reply-to:content-type;
bh=I8FZ0pEJAA3mCkzDpTG3a0ddqCkI35FvVeJmJXwsPbk=;
b=gyLgy2TtepWequm4cJc/+rcgSDUpM1LhFbRUDTG7HlR9XPcJ/Qx6GoAiDSxFBQUUnk
AeVBMP2RWi7YQi9o9j6xGW9XgFDRfWOAf2CV4nO3UxDL1VCUFbMqtpo9TqNiG9VJuI8A
EVfeqUujQF6g+F79BGQHDSBOhGyERqX47u7gpij+aimIlKxkDwrk+JNHr4RfO0i7Ogcz
Oa35/vzzgyOx+ccVhRyvPWVFQcuOtzFR65IlvQ56teqvCGvEscIjvgUCKFloXHoLAdNb
vskK5H/iaYbu49FvcQ1/YcWF9SzXHMErjcA1iJcqaWAbRqRgmfvtpRRisCB0DI0zRkwG
lfhw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1795361142; x=1795965942;
h=content-transfer-encoding:mime-version:message-id:date:subject:cc
:to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date
:message-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Tppww69Ecs661IXhCxx12xun8YuQAvLOprHP1WLCVXrK0daQ/spNSRtznKx7YB3AyC1VU5a90ua
42yzKN3pF+4IDuKRMY3HdclvplhiEQ==
X-Received: by 2002:a17:907:9605:b0:c50:f309:a437 with SMTP id a640c23a62f3a-c513a41f471mr718409466b.7.1795361142032;
Sun, 22 Nov 2026 07:25:42 -0800 (PST)
X-Received: from omris-tuxedo ([217.71.1.73])
by smtp.gmail.com with ESMTPSA id a640c23a62f3a-c513afc244asm320581766b.55.2026.11.22.07.25.41
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Sun, 22 Nov 2026 07:25:41 -0800 (PST)
X-Cc: Omri Sarig <omri.sarig13@gmail.com>,
Junio C Hamano <gitster@pobox.com>
X-Mailer: git-send-email 2.56.1.dirty
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