Skip to content

Commit d595bdc

Browse files
peffgitster
authored andcommitted
doc: put example URLs and emails inside literal backticks
This makes sure that AsciiDoc does not turn them into links. Regular AsciiDoc does not catch these cases, but AsciiDoctor does treat them as links. Signed-off-by: Jeff King <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 4538a88 commit d595bdc

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Documentation/git-http-backend.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ automatically by the web server.
6565

6666
EXAMPLES
6767
--------
68-
All of the following examples map 'http://$hostname/git/foo/bar.git'
69-
to '/var/www/git/foo/bar.git'.
68+
All of the following examples map `http://$hostname/git/foo/bar.git`
69+
to `/var/www/git/foo/bar.git`.
7070

7171
Apache 2.x::
7272
Ensure mod_cgi, mod_alias, and mod_env are enabled, set

Documentation/git-svn.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ COMMANDS
7070
--username=<user>;;
7171
For transports that SVN handles authentication for (http,
7272
https, and plain svn), specify the username. For other
73-
transports (e.g. svn+ssh://), you must include the username in
74-
the URL, e.g. svn+ssh://[email protected]/project
73+
transports (e.g. `svn+ssh://`), you must include the username in
74+
the URL, e.g. `svn+ssh://[email protected]/project`
7575
--prefix=<prefix>;;
7676
This allows one to specify a prefix which is prepended
7777
to the names of remotes if trunk/branches/tags are

Documentation/git-tag.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ This option is only applicable when listing tags without annotation lines.
155155
CONFIGURATION
156156
-------------
157157
By default, 'git tag' in sign-with-default mode (-s) will use your
158-
committer identity (of the form "Your Name <\[email protected]>") to
158+
committer identity (of the form `Your Name <[email protected]>`) to
159159
find a key. If you want to use a different default key, you can specify
160160
it in the repository configuration as follows:
161161

0 commit comments

Comments
 (0)