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 <gitster@pobox.com>
This commit is contained in:
Junio C Hamano 2009-11-21 00:37:26 -08:00
parent df2a79f422
commit 0f7fb21a7a

View File

@ -380,8 +380,8 @@ Common unit suffixes of 'k', 'm', or 'g' are supported.
core.excludesfile:: core.excludesfile::
In addition to '.gitignore' (per-directory) and In addition to '.gitignore' (per-directory) and
'.git/info/exclude', git looks into this file for patterns '.git/info/exclude', git looks into this file for patterns
of files which are not meant to be tracked. "~/" is expanded of files which are not meant to be tracked. "{tilde}/" is expanded
to the value of `$HOME` and "~user/" to the specified user's to the value of `$HOME` and "{tilde}user/" to the specified user's
home directory. See linkgit:gitignore[5]. home directory. See linkgit:gitignore[5].
core.editor:: core.editor::
@ -667,7 +667,7 @@ color.ui::
commit.template:: commit.template::
Specify a file to use as the template for new commit messages. Specify a file to use as the template for new commit messages.
"~/" is expanded to the value of `$HOME` and "~user/" to the "{tilde}/" is expanded to the value of `$HOME` and "{tilde}user/" to the
specified user's home directory. specified user's home directory.
diff.autorefreshindex:: diff.autorefreshindex::