aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/git-update-index.txt
diff options
context:
space:
mode:
authorTodd Zullinger <tmz@pobox.com>2022-04-06 14:41:22 -0400
committerJunio C Hamano <gitster@pobox.com>2022-04-06 16:06:06 -0700
commitf3ea4bed2acb129db66c4c9a22dae71576d58066 (patch)
tree34f77c10a793ec1c5dee3e538adb800bfb2b442c /Documentation/git-update-index.txt
parent07330a41d66a2c9589b585a3a24ecdcf19994f19 (diff)
downloadgit-f3ea4bed2acb129db66c4c9a22dae71576d58066.tar.gz
doc: replace "--" with {litdd} in credential-cache/fsmonitor
Asciidoc renders `--` as em-dash. This is not appropriate for command names. It also breaks linkgit links to these commands. Fix git-credential-cache--daemon and git-fsmonitor--daemon. The latter was added 3248486920 (fsmonitor: document builtin fsmonitor, 2022-03-25) and included several links. A check for broken links in the HTML docs turned this up. Manually inspecting the other Documentation/git-*--*.txt files turned up the issue in git-credential-cache--daemon. While here, quote `git credential-cache--daemon` in the synopsis to match the vast majority of our other documentation. Signed-off-by: Todd Zullinger <tmz@pobox.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-update-index.txt')
-rw-r--r--Documentation/git-update-index.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/git-update-index.txt b/Documentation/git-update-index.txt
index 64315e2e8c..5ea2f2c60e 100644
--- a/Documentation/git-update-index.txt
+++ b/Documentation/git-update-index.txt
@@ -528,7 +528,7 @@ This feature is intended to speed up git operations for repos that have
large working directories.
It enables git to work together with a file system monitor (see
-linkgit:git-fsmonitor--daemon[1]
+linkgit:git-fsmonitor{litdd}daemon[1]
and the
"fsmonitor-watchman" section of linkgit:githooks[5]) that can
inform it as to what files have been modified. This enables git to avoid