summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2009-11-22 16:28:38 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-11-22 16:28:38 -0800
commiteb2fc8f899a58eedc87e7e8ea0fdecdc2ba9f430 (patch)
tree63d327f46a8c9d112e40efbaf85fe85a10f5530b /Documentation
parentMerge branch 'bc/grep-i-F' (diff)
parentDocumentation: avoid xmlto input error (diff)
downloadtgif-eb2fc8f899a58eedc87e7e8ea0fdecdc2ba9f430.tar.xz
Merge branch 'mm/config-pathname-tilde-expand'
* mm/config-pathname-tilde-expand: Documentation: avoid xmlto input error expand_user_path: expand ~ to $HOME, not to the actual homedir. Expand ~ and ~user in core.excludesfile, commit.template
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/config.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/Documentation/config.txt b/Documentation/config.txt
index 78ee906319..d8b842bd0e 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -380,8 +380,9 @@ Common unit suffixes of 'k', 'm', or 'g' are supported.
core.excludesfile::
In addition to '.gitignore' (per-directory) and
'.git/info/exclude', git looks into this file for patterns
- of files which are not meant to be tracked. See
- linkgit:gitignore[5].
+ of files which are not meant to be tracked. "{tilde}/" is expanded
+ to the value of `$HOME` and "{tilde}user/" to the specified user's
+ home directory. See linkgit:gitignore[5].
core.editor::
Commands such as `commit` and `tag` that lets you edit
@@ -681,6 +682,8 @@ color.ui::
commit.template::
Specify a file to use as the template for new commit messages.
+ "{tilde}/" is expanded to the value of `$HOME` and "{tilde}user/" to the
+ specified user's home directory.
diff.autorefreshindex::
When using 'git-diff' to compare with work tree