summaryrefslogtreecommitdiffstats
path: root/config.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-05-30 13:14:20 +0900
committerJunio C Hamano <gitster@pobox.com>2017-05-30 13:14:20 +0900
commitd88ba73d702fe5539887dbcc805006d92c3d1a1c (patch)
tree4cf7d0196c04d0d93cb8f965741b922671c08f5a /config.txt
parent6b6144f9e66b7e2129024fa99ffa44190656c8ee (diff)
downloadgit-htmldocs-d88ba73d702fe5539887dbcc805006d92c3d1a1c.tar.gz
Autogenerated HTML docs for v2.13.0-311-g03399
Diffstat (limited to 'config.txt')
-rw-r--r--config.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/config.txt b/config.txt
index 0ea247bdc..43d830ee3 100644
--- a/config.txt
+++ b/config.txt
@@ -145,6 +145,16 @@ A few more notes on matching via `gitdir` and `gitdir/i`:
* Symlinks in `$GIT_DIR` are not resolved before matching.
+ * Both the symlink & realpath versions of paths will be matched
+ outside of `$GIT_DIR`. E.g. if ~/git is a symlink to
+ /mnt/storage/git, both `gitdir:~/git` and `gitdir:/mnt/storage/git`
+ will match.
++
+This was not the case in the initial release of this feature in
+v2.13.0, which only matched the realpath version. Configuration that
+wants to be compatible with the initial release of this feature needs
+to either specify only the realpath version, or both versions.
+
* Note that "../" is not special and will match literally, which is
unlikely what you want.