summaryrefslogtreecommitdiffstats
path: root/gitmodules.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2021-05-12 14:22:19 +0900
committerJunio C Hamano <gitster@pobox.com>2021-05-12 14:22:19 +0900
commit51a55bc4ecf70f5836e65d13a82c613e070ac990 (patch)
treed880c033a10533f5379a99968f475d667d3fd40f /gitmodules.txt
parentcd56dd5585d64b65937fe5001d2f24fa39f254dd (diff)
downloadgit-htmldocs-51a55bc4ecf70f5836e65d13a82c613e070ac990.tar.gz
Autogenerated HTML docs for v2.31.1-606-gdf6c4f
Diffstat (limited to 'gitmodules.txt')
-rw-r--r--gitmodules.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/gitmodules.txt b/gitmodules.txt
index 8e333dde1..dcee09b50 100644
--- a/gitmodules.txt
+++ b/gitmodules.txt
@@ -98,6 +98,14 @@ submodule.<name>.shallow::
shallow clone (with a history depth of 1) unless the user explicitly
asks for a non-shallow clone.
+NOTES
+-----
+
+Git does not allow the `.gitmodules` file within a working tree to be a
+symbolic link, and will refuse to check out such a tree entry. This
+keeps behavior consistent when the file is accessed from the index or a
+tree versus from the filesystem, and helps Git reliably enforce security
+checks of the file contents.
EXAMPLES
--------