Git development
 help / color / mirror / Atom feed
* [PATCH] doc: update-index: Format options correctly
@ 2026-11-22 15:25 Omri Sarig
  2026-11-22 15:36 ` [PATCH v2] doc: update-index: format " Omri Sarig
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Omri Sarig @ 2026-11-22 15:25 UTC (permalink / raw)
  To: git; +Cc: Omri Sarig, Junio C Hamano

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

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2026-11-29 18:40 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-22 15:25 [PATCH] doc: update-index: Format options correctly Omri Sarig
2026-11-22 15:36 ` [PATCH v2] doc: update-index: format " Omri Sarig
2026-11-22 20:19 ` [PATCH] doc: update-index: Format " Junio C Hamano
2026-11-23 15:32   ` Omri Sarig
2026-11-23 15:56     ` Richard Kerry
2026-11-23 16:56       ` Omri Sarig
2026-11-24 10:25       ` Kristoffer Haugsbakk
2026-11-23 20:34     ` Junio C Hamano
2026-11-29 18:40 ` [PATCH v3] doc: update-index: update options and section formatting Omri Sarig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox