summaryrefslogtreecommitdiffstats
path: root/git-clone.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2023-04-20 15:20:22 -0700
committerJunio C Hamano <gitster@pobox.com>2023-04-20 15:20:22 -0700
commitfdb7c3f555ff7d84db5a1b9f6b77de29d1d25f69 (patch)
tree962ef48c54c2d8e276081fed6421ee63ba0292c1 /git-clone.html
parent4304bf6b4ee4210f0aee438088114a7761d2d667 (diff)
downloadgit-htmldocs-fdb7c3f555ff7d84db5a1b9f6b77de29d1d25f69.tar.gz
Autogenerated HTML docs for v2.40.0-363-g9c699
Diffstat (limited to 'git-clone.html')
-rw-r--r--git-clone.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/git-clone.html b/git-clone.html
index 8f6f3210e..c87a956e5 100644
--- a/git-clone.html
+++ b/git-clone.html
@@ -806,6 +806,10 @@ repository is specified as a URL, then this flag is ignored (and we
never use the local optimizations). Specifying <code>--no-local</code> will
override the default when <code>/path/to/repo</code> is given, using the regular
Git transport instead.</p></div>
+<div class="paragraph"><p>If the repository&#8217;s <code>$GIT_DIR/objects</code> has symbolic links or is a
+symbolic link, the clone will fail. This is a security measure to
+prevent the unintentional copying of files by dereferencing the symbolic
+links.</p></div>
<div class="paragraph"><p><strong>NOTE</strong>: this operation can race with concurrent modification to the
source repository, similar to running <code>cp -r src dst</code> while modifying
<code>src</code>.</p></div>
@@ -1509,7 +1513,7 @@ clone.filterSubmodules
<div id="footer">
<div id="footer-text">
Last updated
- 2022-09-14 13:23:11 PDT
+ 2023-04-20 15:18:02 PDT
</div>
</div>
</body>