Skip to content

Commit f89f46b

Browse files
Martin Ågrengitster
authored andcommitted
gitmailmap.txt: fix rendering of e-mail addresses
Both AsciiDoc and Asciidoctor are eager to pick up the e-mail addresses in this document and turn them into references at the bottom of the manpage / clickable links. We don't really need that for these dummy addresses. Spell "@" as "&#64;" to make them not do this. In the open block, we can instead avoid this by indenting the contents, similar to the earlier blocks. Fix a backtick which should have been a single quote mark. With all the quoting that is going on around here, this mistake trips up the parsing and rendering quite a bit. Before this commit, we have the same failure mode with AsciiDoc 8.6.10 and Asciidoctor 1.5.5, and this change makes both of them happy. Signed-off-by: Martin Ågren <[email protected]> Acked-by: Ævar Arnfjörð Bjarmason <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 83171ed commit f89f46b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Documentation/gitmailmap.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ which allows mailmap to replace both the name and the email of a
5050
commit matching both the specified commit name and email address.
5151

5252
Both E-Mails and names are matched case-insensitively. For example
53-
this would also match the 'Commit Name <commit@email.xx>' above:
53+
this would also match the 'Commit Name <commit&#64;email.xx>' above:
5454
--
55-
Proper Name <[email protected]> CoMmIt NaMe <[email protected]>
55+
Proper Name <[email protected]> CoMmIt NaMe <[email protected]>
5656
--
5757

5858
EXAMPLES
@@ -79,9 +79,9 @@ Jane Doe <[email protected]>
7979
Jane Doe <jane@desktop.(none)>
8080
------------
8181

82-
Note that there's no need to map the name for 'jane@laptop.(none)' to
82+
Note that there's no need to map the name for '<jane&#64;laptop.(none)>' to
8383
only correct the names. However, leaving the obviously broken
84-
`<jane@laptop.(none)>' and '<jane@desktop.(none)>' E-Mails as-is is
84+
'<jane&#64;laptop.(none)>' and '<jane&#64;desktop.(none)>' E-Mails as-is is
8585
usually not what you want. A `.mailmap` file which also corrects those
8686
is:
8787

0 commit comments

Comments
 (0)