Skip to content

Commit 0f7fb21

Browse files
committed
Documentation: avoid xmlto input error
Do not write literal "~/" or "~user" but use "{tilde}/" and "{tilde}user"; otherwise the text between them gets enclosed in "<subscript>...</subscript>". Signed-off-by: Junio C Hamano <[email protected]>
1 parent df2a79f commit 0f7fb21

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Documentation/config.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -380,8 +380,8 @@ Common unit suffixes of 'k', 'm', or 'g' are supported.
380380
core.excludesfile::
381381
In addition to '.gitignore' (per-directory) and
382382
'.git/info/exclude', git looks into this file for patterns
383-
of files which are not meant to be tracked. "~/" is expanded
384-
to the value of `$HOME` and "~user/" to the specified user's
383+
of files which are not meant to be tracked. "{tilde}/" is expanded
384+
to the value of `$HOME` and "{tilde}user/" to the specified user's
385385
home directory. See linkgit:gitignore[5].
386386

387387
core.editor::
@@ -667,7 +667,7 @@ color.ui::
667667

668668
commit.template::
669669
Specify a file to use as the template for new commit messages.
670-
"~/" is expanded to the value of `$HOME` and "~user/" to the
670+
"{tilde}/" is expanded to the value of `$HOME` and "{tilde}user/" to the
671671
specified user's home directory.
672672

673673
diff.autorefreshindex::

0 commit comments

Comments
 (0)