diff options
author | Junio C Hamano <gitster@pobox.com> | 2023-04-20 15:20:22 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-04-20 15:20:22 -0700 |
commit | fdb7c3f555ff7d84db5a1b9f6b77de29d1d25f69 (patch) | |
tree | 962ef48c54c2d8e276081fed6421ee63ba0292c1 /git-clone.txt | |
parent | 4304bf6b4ee4210f0aee438088114a7761d2d667 (diff) | |
download | git-htmldocs-fdb7c3f555ff7d84db5a1b9f6b77de29d1d25f69.tar.gz |
Autogenerated HTML docs for v2.40.0-363-g9c699
Diffstat (limited to 'git-clone.txt')
-rw-r--r-- | git-clone.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/git-clone.txt b/git-clone.txt index d6434d262..c37c4a37f 100644 --- a/git-clone.txt +++ b/git-clone.txt @@ -58,6 +58,11 @@ never use the local optimizations). Specifying `--no-local` will override the default when `/path/to/repo` is given, using the regular Git transport instead. + +If the repository's `$GIT_DIR/objects` 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. ++ *NOTE*: this operation can race with concurrent modification to the source repository, similar to running `cp -r src dst` while modifying `src`. |