[PATCH] doc: update-index: Format options correctly
- From
Omri Sarig <omri.sarig13@gmail.com>
- Date
- Nov 22, 2026, 15:25 UTC
- Message-ID
- <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 <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