Skip to content

Commit f3ea4be

Browse files
tmzullingergitster
authored andcommitted
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 3248486 (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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 07330a4 commit f3ea4be

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

Documentation/config/core.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ core.protectNTFS::
6363

6464
core.fsmonitor::
6565
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]).
6767
+
6868
Like hook-based file system monitors, the built-in file system monitor
6969
can speed up Git commands that need to refresh the Git index

Documentation/git-credential-cache--daemon.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
git-credential-cache--daemon(1)
2-
===============================
1+
git-credential-cache{litdd}daemon(1)
2+
====================================
33

44
NAME
55
----
@@ -8,7 +8,7 @@ git-credential-cache--daemon - Temporarily store user credentials in memory
88
SYNOPSIS
99
--------
1010
[verse]
11-
git credential-cache--daemon [--debug] <socket>
11+
'git credential-cache{litdd}daemon' [--debug] <socket>
1212

1313
DESCRIPTION
1414
-----------

Documentation/git-fsmonitor--daemon.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
git-fsmonitor--daemon(1)
2-
========================
1+
git-fsmonitor{litdd}daemon(1)
2+
=============================
33

44
NAME
55
----
@@ -8,10 +8,10 @@ git-fsmonitor--daemon - A Built-in File System Monitor
88
SYNOPSIS
99
--------
1010
[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
1515

1616
DESCRIPTION
1717
-----------

Documentation/git-update-index.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ This feature is intended to speed up git operations for repos that have
528528
large working directories.
529529

530530
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]
532532
and the
533533
"fsmonitor-watchman" section of linkgit:githooks[5]) that can
534534
inform it as to what files have been modified. This enables git to avoid

0 commit comments

Comments
 (0)