read-cache: optionally disallow HFS+ .git variants
[gitweb.git] / Documentation / config.txt
index ab26963d61877a2f8e03a3532ace5b31bc68738e..0677bd8df5807ed664262afee0d106b10f524794 100644 (file)
@@ -234,6 +234,11 @@ 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.trustctime::
        If false, the ctime differences between the index and the
        working tree are ignored; useful when the inode change time