setup: set env $GIT_WORK_TREE when work tree is set, like $GIT_DIR
[gitweb.git] / Documentation / config.txt
index c08286e968ad057c288b72f77e877f42a640ae5f..0c325976390ff0878f8aede3a416587f9b9af75f 100644 (file)
@@ -233,6 +233,17 @@ core.precomposeunicode::
        When false, file names are handled fully transparent by Git,
        which is backward compatible with older versions of Git.
 
+core.protectHFS::
+       If set to true, do not allow checkout of paths that would
+       be considered equivalent to `.git` on an HFS+ filesystem.
+       Defaults to `true` on Mac OS, and `false` elsewhere.
+
+core.protectNTFS::
+       If set to true, do not allow checkout of paths that would
+       cause problems with the NTFS filesystem, e.g. conflict with
+       8.3 "short" names.
+       Defaults to `true` on Windows, and `false` elsewhere.
+
 core.trustctime::
        If false, the ctime differences between the index and the
        working tree are ignored; useful when the inode change time