From: Omri Sarig Date: Sun, 22 Nov 2026 15:36:01 GMT Subject: [PATCH v2] doc: update-index: format options correctly Message-ID: <20261122153601.110226-1-omri.sarig13@gmail.com> In-Reply-To: <20261122152538.107580-1-omri.sarig13@gmail.com> 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 --- After sending the patch, I noticed that the commit message was wrongly capitalized, sorry about that. Fixed in V2 now. 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 ,,:: --cacheinfo :: @@ -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, Range-diff against v1: 1: ec32a90695 ! 1: 07112e8191 doc: update-index: Format options correctly @@ Metadata Author: Omri Sarig ## Commit message ## - doc: update-index: Format options correctly + doc: update-index: format options correctly The update-index man page had references to several options, which were missing the relevant markers, causing them to be formatted as text base-commit: 03b41523c576f26ad34085378717a0c1b287470f