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>

Todd Zullinger committed Apr 6, 2022 at 14:41 UTC f3ea4bed2acb129db66c4c9a22dae71576d58066
4 files changed +11 -11
Documentation/config/core.txt
+1 -1
@@ -63,7 +63,7 @@ core.protectNTFS::
63
64 core.fsmonitor::
65 If set to true, enable the built-in file system monitor
66 - daemon for this working directory (linkgit:git-fsmonitor--daemon[1]).
66 + daemon for this working directory (linkgit:git-fsmonitor{litdd}daemon[1]).
67 +
68 Like hook-based file system monitors, the built-in file system monitor
69 can speed up Git commands that need to refresh the Git index
Documentation/git-credential-cache--daemon.txt
+3 -3
@@ -1,5 +1,5 @@
1 -git-credential-cache--daemon(1)
2 -===============================
1 +git-credential-cache{litdd}daemon(1)
2 +====================================
3
4 NAME
5 ----
@@ -8,7 +8,7 @@ git-credential-cache--daemon - Temporarily store user credentials in memory
8 SYNOPSIS
9 --------
10 [verse]
11 -git credential-cache--daemon [--debug] <socket>
11 +'git credential-cache{litdd}daemon' [--debug] <socket>
12
13 DESCRIPTION
14 -----------
Documentation/git-fsmonitor--daemon.txt
+6 -6
@@ -1,5 +1,5 @@
1 -git-fsmonitor--daemon(1)
2 -========================
1 +git-fsmonitor{litdd}daemon(1)
2 +=============================
3
4 NAME
5 ----
@@ -8,10 +8,10 @@ git-fsmonitor--daemon - A Built-in File System Monitor
8 SYNOPSIS
9 --------
10 [verse]
11 -'git fsmonitor--daemon' start
12 -'git fsmonitor--daemon' run
13 -'git fsmonitor--daemon' stop
14 -'git fsmonitor--daemon' status
11 +'git fsmonitor{litdd}daemon' start
12 +'git fsmonitor{litdd}daemon' run
13 +'git fsmonitor{litdd}daemon' stop
14 +'git fsmonitor{litdd}daemon' status
15
16 DESCRIPTION
17 -----------
Documentation/git-update-index.txt
+1 -1
@@ -528,7 +528,7 @@ This feature is intended to speed up git operations for repos that have
528 large working directories.
529
530 It enables git to work together with a file system monitor (see
531 -linkgit:git-fsmonitor--daemon[1]
531 +linkgit:git-fsmonitor{litdd}daemon[1]
532 and the
533 "fsmonitor-watchman" section of linkgit:githooks[5]) that can
534 inform it as to what files have been modified. This enables git to avoid