* [PATCH] docs: remove {litdd} usage
@ 2026-02-23 11:30 Michael Ryzhikov via GitGitGadget
2026-02-23 18:20 ` Junio C Hamano
0 siblings, 1 reply; 3+ messages in thread
From: Michael Ryzhikov via GitGitGadget @ 2026-02-23 11:30 UTC (permalink / raw)
To: git; +Cc: Michael Ryzhikov, samonon
From: samonon <samonon@gmail.com>
*** Problem.
{litdd} is used as alias for -- (when not inside backticks) because --
is a reserved text in asciidoc. There is some problems with this:
- need to remember that in some cases -- should be replaced with {litdd}
- unnecessary config options when exporting adoc to other formats
- in HTML it looks like "--" instead of "--" (it works, but
browser should correctly decode hex symbols in html link:
see htmldocs/git-sh-i18n.html)
*** Solution
For better readability just escape -- using \.
This is default asciidoc mechanism that don't need any configuration.
Tested with "make all doc" - links inside linkgit: work.
Signed-off-by: samonon <samonon@gmail.com>
---
docs: remove {litdd} usage
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-2215%2FMuxaJIbI4%2Fremove-litdd-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-2215/MuxaJIbI4/remove-litdd-v1
Pull-Request: https://github.com/git/git/pull/2215
Documentation/Makefile | 1 -
Documentation/SubmittingPatches | 2 +-
Documentation/asciidoc.conf.in | 1 -
Documentation/config/browser.adoc | 2 +-
Documentation/config/core.adoc | 2 +-
Documentation/git-archimport.adoc | 6 +++---
Documentation/git-credential-cache--daemon.adoc | 6 +++---
Documentation/git-fsmonitor--daemon.adoc | 12 ++++++------
Documentation/git-help.adoc | 6 +++---
Documentation/git-instaweb.adoc | 6 +++---
Documentation/git-mergetool--lib.adoc | 10 +++++-----
Documentation/git-sh-i18n--envsubst.adoc | 10 +++++-----
Documentation/git-sh-i18n.adoc | 2 +-
Documentation/git-update-index.adoc | 2 +-
Documentation/git-web--browse.adoc | 10 +++++-----
Documentation/lint-gitlink.perl | 2 +-
Documentation/meson.build | 1 -
contrib/subtree/Makefile | 1 -
t/t0450-txt-doc-vs-help.sh | 2 +-
19 files changed, 40 insertions(+), 44 deletions(-)
diff --git a/Documentation/Makefile b/Documentation/Makefile
index 2699f0b24a..64c3ed880c 100644
--- a/Documentation/Makefile
+++ b/Documentation/Makefile
@@ -223,7 +223,6 @@ ASCIIDOC_HTML = xhtml5
ASCIIDOC_DOCBOOK = docbook5
ASCIIDOC_EXTRA += -acompat-mode -atabsize=8
ASCIIDOC_EXTRA += -I. -rasciidoctor-extensions
-ASCIIDOC_EXTRA += -alitdd='&\#x2d;&\#x2d;'
ASCIIDOC_EXTRA += -adocinfo=shared
ASCIIDOC_DEPS = asciidoctor-extensions.rb GIT-ASCIIDOCFLAGS
DBLATEX_COMMON =
diff --git a/Documentation/SubmittingPatches b/Documentation/SubmittingPatches
index e270ccbe85..8322a4a05c 100644
--- a/Documentation/SubmittingPatches
+++ b/Documentation/SubmittingPatches
@@ -35,7 +35,7 @@ The people who may need to know are the ones who worked on the code
you are touching. These people happen to be the ones who are
most likely to be knowledgeable enough to help you, but
they have no obligation to help you (i.e. you ask them for help,
-you don't demand). +git log -p {litdd} _$area_you_are_modifying_+ would
+you don't demand). +git log -p \-- _$area_you_are_modifying_+ would
help you find out who they are.
. You get comments and suggestions for improvements. You may even get
diff --git a/Documentation/asciidoc.conf.in b/Documentation/asciidoc.conf.in
index 31b883a72c..3a54e1644e 100644
--- a/Documentation/asciidoc.conf.in
+++ b/Documentation/asciidoc.conf.in
@@ -20,7 +20,6 @@ backslash=\
tilde=~
apostrophe='
backtick=`
-litdd=--
manmanual=Git Manual
mansource=Git @GIT_VERSION@
revdate=@GIT_DATE@
diff --git a/Documentation/config/browser.adoc b/Documentation/config/browser.adoc
index 195df207a6..8f9161fb8a 100644
--- a/Documentation/config/browser.adoc
+++ b/Documentation/config/browser.adoc
@@ -1,7 +1,7 @@
browser.<tool>.cmd::
Specify the command to invoke the specified browser. The
specified command is evaluated in shell with the URLs passed
- as arguments. (See linkgit:git-web{litdd}browse[1].)
+ as arguments. (See linkgit:git-web\--browse[1].)
browser.<tool>.path::
Override the path for the given tool that may be used to
diff --git a/Documentation/config/core.adoc b/Documentation/config/core.adoc
index a0ebf03e2e..db5ab03eae 100644
--- a/Documentation/config/core.adoc
+++ b/Documentation/config/core.adoc
@@ -63,7 +63,7 @@ core.protectNTFS::
core.fsmonitor::
If set to true, enable the built-in file system monitor
- daemon for this working directory (linkgit:git-fsmonitor{litdd}daemon[1]).
+ daemon for this working directory (linkgit:git-fsmonitor\--daemon[1]).
+
Like hook-based file system monitors, the built-in file system monitor
can speed up Git commands that need to refresh the Git index
diff --git a/Documentation/git-archimport.adoc b/Documentation/git-archimport.adoc
index 847777fd17..178a4d66ed 100644
--- a/Documentation/git-archimport.adoc
+++ b/Documentation/git-archimport.adoc
@@ -45,7 +45,7 @@ archives that it imports, it is also possible to specify Git branch names
manually. To do so, write a Git branch name after each <archive>/<branch>
parameter, separated by a colon. This way, you can shorten the Arch
branch names and convert Arch jargon to Git jargon, for example mapping a
-"PROJECT{litdd}devo{litdd}VERSION" branch to "master".
+"PROJECT\--devo\--VERSION" branch to "master".
Associating multiple Arch branches to one Git branch is possible; the
result will make the most sense only if no commits are made to the first
@@ -86,8 +86,8 @@ OPTIONS
-o::
Use this for compatibility with old-style branch names used by
earlier versions of 'git archimport'. Old-style branch names
- were category{litdd}branch, whereas new-style branch names are
- archive,category{litdd}branch{litdd}version. In both cases, names given
+ were category\--branch, whereas new-style branch names are
+ archive,category\--branch\--version. In both cases, names given
on the command-line will override the automatically-generated
ones.
diff --git a/Documentation/git-credential-cache--daemon.adoc b/Documentation/git-credential-cache--daemon.adoc
index 650a15a7ed..b9e05146d1 100644
--- a/Documentation/git-credential-cache--daemon.adoc
+++ b/Documentation/git-credential-cache--daemon.adoc
@@ -1,5 +1,5 @@
-git-credential-cache{litdd}daemon(1)
-====================================
+git-credential-cache\--daemon(1)
+================================
NAME
----
@@ -8,7 +8,7 @@ git-credential-cache--daemon - Temporarily store user credentials in memory
SYNOPSIS
--------
[verse]
-'git credential-cache{litdd}daemon' [--debug] <socket-path>
+'git credential-cache\--daemon' [--debug] <socket-path>
DESCRIPTION
-----------
diff --git a/Documentation/git-fsmonitor--daemon.adoc b/Documentation/git-fsmonitor--daemon.adoc
index 8fe5241b08..547d185214 100644
--- a/Documentation/git-fsmonitor--daemon.adoc
+++ b/Documentation/git-fsmonitor--daemon.adoc
@@ -1,5 +1,5 @@
-git-fsmonitor{litdd}daemon(1)
-=============================
+git-fsmonitor\--daemon(1)
+=========================
NAME
----
@@ -8,10 +8,10 @@ git-fsmonitor--daemon - A Built-in Filesystem Monitor
SYNOPSIS
--------
[verse]
-'git fsmonitor{litdd}daemon' start
-'git fsmonitor{litdd}daemon' run
-'git fsmonitor{litdd}daemon' stop
-'git fsmonitor{litdd}daemon' status
+'git fsmonitor\--daemon' start
+'git fsmonitor\--daemon' run
+'git fsmonitor\--daemon' stop
+'git fsmonitor\--daemon' status
DESCRIPTION
-----------
diff --git a/Documentation/git-help.adoc b/Documentation/git-help.adoc
index f0bedc1f96..b83feed536 100644
--- a/Documentation/git-help.adoc
+++ b/Documentation/git-help.adoc
@@ -110,9 +110,9 @@ other display programs (see below).
+
The web browser can be specified using the configuration variable
`help.browser`, or `web.browser` if the former is not set. If neither of
-these config variables is set, the 'git web{litdd}browse' helper script
+these config variables is set, the 'git web\--browse' helper script
(called by 'git help') will pick a suitable default. See
-linkgit:git-web{litdd}browse[1] for more information about this.
+linkgit:git-web\--browse[1] for more information about this.
CONFIGURATION VARIABLES
-----------------------
@@ -135,7 +135,7 @@ help.browser, web.browser, and browser.<tool>.path
The `help.browser`, `web.browser` and `browser.<tool>.path` will also
be checked if the 'web' format is chosen (either by command-line
option or configuration variable). See '-w|--web' in the OPTIONS
-section above and linkgit:git-web{litdd}browse[1].
+section above and linkgit:git-web\--browse[1].
man.viewer
~~~~~~~~~~
diff --git a/Documentation/git-instaweb.adoc b/Documentation/git-instaweb.adoc
index a54fe4401b..c17011c438 100644
--- a/Documentation/git-instaweb.adoc
+++ b/Documentation/git-instaweb.adoc
@@ -45,9 +45,9 @@ OPTIONS
-b::
--browser::
The web browser that should be used to view the gitweb
- page. This will be passed to the 'git web{litdd}browse' helper
+ page. This will be passed to the 'git web\--browse' helper
script along with the URL of the gitweb instance. See
- linkgit:git-web{litdd}browse[1] for more information about this. If
+ linkgit:git-web\--browse[1] for more information about this. If
the script fails, the URL will be printed to stdout.
start::
@@ -83,7 +83,7 @@ You may specify configuration in your .git/config
If the configuration variable `instaweb.browser` is not set,
`web.browser` will be used instead if it is defined. See
-linkgit:git-web{litdd}browse[1] for more information about this.
+linkgit:git-web\--browse[1] for more information about this.
SEE ALSO
--------
diff --git a/Documentation/git-mergetool--lib.adoc b/Documentation/git-mergetool--lib.adoc
index 0726b560d4..cdbc881bfb 100644
--- a/Documentation/git-mergetool--lib.adoc
+++ b/Documentation/git-mergetool--lib.adoc
@@ -1,5 +1,5 @@
-git-mergetool{litdd}lib(1)
-==========================
+git-mergetool\--lib(1)
+======================
NAME
----
@@ -8,7 +8,7 @@ git-mergetool--lib - Common Git merge tool shell scriptlets
SYNOPSIS
--------
[verse]
-'TOOL_MODE=(diff|merge) . "$(git --exec-path)/git-mergetool{litdd}lib"'
+'TOOL_MODE=(diff|merge) . "$(git --exec-path)/git-mergetool\--lib"'
DESCRIPTION
-----------
@@ -17,11 +17,11 @@ This is not a command the end user would want to run. Ever.
This documentation is meant for people who are studying the
Porcelain-ish scripts and/or are writing new ones.
-The 'git-mergetool{litdd}lib' scriptlet is designed to be sourced (using
+The 'git-mergetool\--lib' scriptlet is designed to be sourced (using
`.`) by other shell scripts to set up functions for working
with Git merge tools.
-Before sourcing 'git-mergetool{litdd}lib', your script must set `TOOL_MODE`
+Before sourcing 'git-mergetool\--lib', your script must set `TOOL_MODE`
to define the operation mode for the functions listed below.
'diff' and 'merge' are valid values.
diff --git a/Documentation/git-sh-i18n--envsubst.adoc b/Documentation/git-sh-i18n--envsubst.adoc
index 2ffaf9392e..6473a9a795 100644
--- a/Documentation/git-sh-i18n--envsubst.adoc
+++ b/Documentation/git-sh-i18n--envsubst.adoc
@@ -1,5 +1,5 @@
-git-sh-i18n{litdd}envsubst(1)
-=============================
+git-sh-i18n\--envsubst(1)
+=========================
NAME
----
@@ -10,8 +10,8 @@ SYNOPSIS
[verse]
eval_gettext () {
printf "%s" "$1" | (
- export PATH $('git sh-i18n{litdd}envsubst' --variables "$1");
- 'git sh-i18n{litdd}envsubst' "$1"
+ export PATH $('git sh-i18n\--envsubst' --variables "$1");
+ 'git sh-i18n\--envsubst' "$1"
)
}
@@ -22,7 +22,7 @@ This is not a command the end user would want to run. Ever.
This documentation is meant for people who are studying the
plumbing scripts and/or are writing new ones.
-'git sh-i18n{litdd}envsubst' is Git's stripped-down copy of the GNU
+'git sh-i18n\--envsubst' is Git's stripped-down copy of the GNU
`envsubst(1)` program that comes with the GNU gettext package. It's
used internally by linkgit:git-sh-i18n[1] to interpolate the variables
passed to the `eval_gettext` function.
diff --git a/Documentation/git-sh-i18n.adoc b/Documentation/git-sh-i18n.adoc
index 60cf49cb2a..7deb13d861 100644
--- a/Documentation/git-sh-i18n.adoc
+++ b/Documentation/git-sh-i18n.adoc
@@ -35,7 +35,7 @@ gettext::
eval_gettext::
Currently a dummy fall-through function implemented as a wrapper
around `printf(1)` with variables expanded by the
- linkgit:git-sh-i18n{litdd}envsubst[1] helper. Will be replaced by a
+ linkgit:git-sh-i18n\--envsubst[1] helper. Will be replaced by a
real gettext implementation in a later version.
GIT
diff --git a/Documentation/git-update-index.adoc b/Documentation/git-update-index.adoc
index 9bea9fab9a..0cda1e699e 100644
--- a/Documentation/git-update-index.adoc
+++ b/Documentation/git-update-index.adoc
@@ -539,7 +539,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{litdd}daemon[1]
+linkgit:git-fsmonitor\--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
diff --git a/Documentation/git-web--browse.adoc b/Documentation/git-web--browse.adoc
index f2f996cbe1..13e37dac82 100644
--- a/Documentation/git-web--browse.adoc
+++ b/Documentation/git-web--browse.adoc
@@ -1,5 +1,5 @@
-git-web{litdd}browse(1)
-=======================
+git-web\--browse(1)
+===================
NAME
----
@@ -8,7 +8,7 @@ git-web--browse - Git helper script to launch a web browser
SYNOPSIS
--------
[verse]
-'git web{litdd}browse' [<options>] (<URL>|<file>)...
+'git web\--browse' [<options>] (<URL>|<file>)...
DESCRIPTION
-----------
@@ -71,7 +71,7 @@ browser.<tool>.path
You can explicitly provide a full path to your preferred browser by
setting the configuration variable `browser.<tool>.path`. For example,
you can configure the absolute path to firefox by setting
-'browser.firefox.path'. Otherwise, 'git web{litdd}browse' assumes the tool
+'browser.firefox.path'. Otherwise, 'git web\--browse' assumes the tool
is available in PATH.
browser.<tool>.cmd
@@ -80,7 +80,7 @@ browser.<tool>.cmd
When the browser, specified by options or configuration variables, is
not among the supported ones, then the corresponding
`browser.<tool>.cmd` configuration variable will be looked up. If this
-variable exists then 'git web{litdd}browse' will treat the specified tool
+variable exists then 'git web\--browse' will treat the specified tool
as a custom command and will use a shell eval to run the command with
the URLs passed as arguments.
diff --git a/Documentation/lint-gitlink.perl b/Documentation/lint-gitlink.perl
index a92e887b4c..c7d9b2805a 100755
--- a/Documentation/lint-gitlink.perl
+++ b/Documentation/lint-gitlink.perl
@@ -54,7 +54,7 @@ while (<>) {
my ($target, $page, $section) = ($1, $2, $3);
# De-AsciiDoc
- $page =~ s/{litdd}/--/g;
+ $page =~ s/\\--/--/g;
if (!exists $TXT{$page}) {
report($pos, $line, $target, "link outside of our own docs");
diff --git a/Documentation/meson.build b/Documentation/meson.build
index fd2e8cc02d..bfeae3587b 100644
--- a/Documentation/meson.build
+++ b/Documentation/meson.build
@@ -295,7 +295,6 @@ elif docs_backend == 'asciidoctor'
asciidoctor,
'--attribute', 'compat-mode',
'--attribute', 'tabsize=8',
- '--attribute', 'litdd=--',
'--attribute', 'docinfo=shared',
'--attribute', 'build_dir=' + meson.current_build_dir(),
'--load-path', meson.current_build_dir(),
diff --git a/contrib/subtree/Makefile b/contrib/subtree/Makefile
index c0c9f21cb7..540a074b02 100644
--- a/contrib/subtree/Makefile
+++ b/contrib/subtree/Makefile
@@ -33,7 +33,6 @@ ASCIIDOC_CONF =
ASCIIDOC_HTML = xhtml5
ASCIIDOC_DOCBOOK = docbook
ASCIIDOC_EXTRA += -I. -rasciidoctor-extensions
-ASCIIDOC_EXTRA += -alitdd='&\#x2d;&\#x2d;'
ASCIIDOC_DEPS = asciidoctor-extensions.rb
XMLTO_EXTRA += --skip-validation
endif
diff --git a/t/t0450-txt-doc-vs-help.sh b/t/t0450-txt-doc-vs-help.sh
index 822b0d55a5..4e6cb163fb 100755
--- a/t/t0450-txt-doc-vs-help.sh
+++ b/t/t0450-txt-doc-vs-help.sh
@@ -58,7 +58,7 @@ adoc_to_synopsis () {
-E '/^\[(verse|synopsis)\]$/,/^$/ {
/^$/q;
/^\[(verse|synopsis)\]$/d;
- s/\{litdd\}/--/g;
+ s/\\--/--/g;
s/'\''(git[ a-z-]*)'\''/\1/g;
p;
base-commit: 7c02d39fc2ed2702223c7674f73150d9a7e61ba4
--
gitgitgadget
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] docs: remove {litdd} usage
2026-02-23 11:30 [PATCH] docs: remove {litdd} usage Michael Ryzhikov via GitGitGadget
@ 2026-02-23 18:20 ` Junio C Hamano
2026-02-24 6:15 ` Михаил Рыжиков
0 siblings, 1 reply; 3+ messages in thread
From: Junio C Hamano @ 2026-02-23 18:20 UTC (permalink / raw)
To: Michael Ryzhikov via GitGitGadget; +Cc: git, Michael Ryzhikov
"Michael Ryzhikov via GitGitGadget" <gitgitgadget@gmail.com> writes:
> From: samonon <samonon@gmail.com>
>
> *** Problem.
> {litdd} is used as alias for -- (when not inside backticks) because --
> is a reserved text in asciidoc. There is some problems with this:
> - need to remember that in some cases -- should be replaced with {litdd}
> - unnecessary config options when exporting adoc to other formats
> - in HTML it looks like "--" instead of "--" (it works, but
> browser should correctly decode hex symbols in html link:
> see htmldocs/git-sh-i18n.html)
>
> *** Solution
> For better readability just escape -- using \.
> This is default asciidoc mechanism that don't need any configuration.
> Tested with "make all doc" - links inside linkgit: work.
Hmph, I do not quite see the point of this churn. We'd need to
remember to do \-- instead of doing {litdd}, either way.
I do not know what you want to say with "when exporting to other
formats", as we already are formatting these source files into HTML
and manual pages.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] docs: remove {litdd} usage
2026-02-23 18:20 ` Junio C Hamano
@ 2026-02-24 6:15 ` Михаил Рыжиков
0 siblings, 0 replies; 3+ messages in thread
From: Михаил Рыжиков @ 2026-02-24 6:15 UTC (permalink / raw)
To: Junio C Hamano; +Cc: Michael Ryzhikov via GitGitGadget, git
On Mon, Feb 23, 2026 at 9:20 PM Junio C Hamano <gitster@pobox.com> wrote:
> Hmph, I do not quite see the point of this churn. We'd need to
> remember to do \-- instead of doing {litdd}, either way.
>
> I do not know what you want to say with "when exporting to other
> formats", as we already are formatting these source files into HTML
> and manual pages.
Let this e-mail be a summary post for similar suggestions.
If there is a reason to continue using legacy fix {litdd} there needs
to be an example
where it breaks output with current tools/setups (or even may be future setups).
If it can be replaced there needs to be a list of required tests for
all setups (see 2.).
1. I searched this mailing list for 'litdd' references (links will be
in the end) and understood
that it was introduced because of changes in asciidoc syntax (--
became emdash) and
bugs in asciidoc* converter more than 10 years ago. Should it be used
still for legacy code support?
I tested (cygwin + asciidoc) 'make all doc' and it works correctly
(but maybe it's only for me).
Since '\--' is a default asciidoc syntax for disabling text
replacement it should be used
for writing docs and converters now should know about this syntax.
2. What should be tested whether replacing {litdd} with '\--' doesn't
regress with current tools?
Should it work correctly (and create same textual output):
- with Win/Mac and all types of Linux/Unix/BSD?
- with all converters (including older versions): asciidoc, asciidoctor, etc...
- with all output formats (man, html, info, pdf, docbook, etc...)?
- with 'Git for Windows' repo and other forks?
Who can take their time and test all this?
Or release docs should come from a single source (like manpages and html docs
at https://www.kernel.org/pub/software/scm/git)?
3. Development discussion forum.
3.1 I apologize for sending it directly to this mailing list - maybe
It should have been
discussed somewhere else beforehand? For example, Discord? Mailing
list is SO old school.
3.2 Maybe there should be a discord channel #docs for Git
documentation development?
-----------------------------------------------------------------------------
Previous important references to {litdd} in this mailing list. My
comments start with >>
https://lore.kernel.org/git/20110629053510.GC28690@elie/
[PATCH 1/2 maint] Documentation: quote double-dash for AsciiDoc
Use "\--" to avoid such misformatting in sentences in which "--"
represents a literal
double-minus command line argument that separates options and revs from
pathspecs, and use "{litdd}" in cases where the double-dash is embedded
in the command name. The latter is just for consistency with
v1.7.3-rc0~13^2 (Work around em-dash handling in newer AsciiDoc, 2010-08-23).
https://lore.kernel.org/git/20120426085156.GB22819@sigill.intra.peff.net/
[PATCH] docs: stop using asciidoc no-inline-literal
https://lore.kernel.org/git/20150513045650.GA6070@peff.net/
[PATCH 0/8] asciidoc fixups
https://lore.kernel.org/git/1462220405-12408-2-git-send-email-larsxschneider@gmail.com/
[PATCH v3 1/2] Documentation: fix linkgit references
>> previous attempt to remove {litdd}
https://lore.kernel.org/git/20171029211308.272673-1-sandals@crustytoothpaste.net/
[PATCH 0/2] Convert SubmittingPatches to AsciiDoc
https://lore.kernel.org/git/20180510071103.GC31779@sigill.intra.peff.net/
There are certainly a few that can't, though (e.g., config.txt uses
linkgit:git-web{litdd}browse[1]).
I agree that "\--" is less ugly there (and seems to work on my modern asciidoc).
There's some history on the litdd versus "\--" choice in 565e135a1e
(Documentation:
quote double-dash for AsciiDoc, 2011-06-29). That in turn references
the 2839478774
(Work around em-dash handling in newer AsciiDoc, 2010-08-23),
but I wouldn't be surprised if all of that is now obsolete with our
AsciiDoc 8+ requirement.
https://lore.kernel.org/git/20190320181715.GJ31362@pobox.com/
Re: [PATCH] asciidoctor-extensions: provide `<refmiscinfo/>`
https://lore.kernel.org/git/xmqqsg2q9xts.fsf@gitster.g/
Re: [PATCH 0/6] AsciiDoc vs Asciidoctor, once again (14.05.2021)
A typesetting rule like "instead of double-dashes --, use {litdd}" is
an acceptable way out.
At least that wouldn't constrain what the final product that gets
delivered to the end-users can say.
https://lore.kernel.org/git/20220406184122.4126898-1-tmz@pobox.com/
[PATCH] 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.
>> Currently it doesn't break linkgit: (but may be only for me).
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-02-24 6:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-23 11:30 [PATCH] docs: remove {litdd} usage Michael Ryzhikov via GitGitGadget
2026-02-23 18:20 ` Junio C Hamano
2026-02-24 6:15 ` Михаил Рыжиков
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox