summaryrefslogtreecommitdiffstats
path: root/man1/git-clone.1
diff options
context:
space:
mode:
Diffstat (limited to 'man1/git-clone.1')
-rw-r--r--man1/git-clone.110
1 files changed, 7 insertions, 3 deletions
diff --git a/man1/git-clone.1 b/man1/git-clone.1
index a75068e3a..09b1ad1dc 100644
--- a/man1/git-clone.1
+++ b/man1/git-clone.1
@@ -2,12 +2,12 @@
.\" Title: git-clone
.\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
-.\" Date: 04/17/2023
+.\" Date: 04/20/2023
.\" Manual: Git Manual
-.\" Source: Git 2.40.0.352.g667fcf4e15
+.\" Source: Git 2.40.0.363.g9c6990cca2
.\" Language: English
.\"
-.TH "GIT\-CLONE" "1" "04/17/2023" "Git 2\&.40\&.0\&.352\&.g667fcf" "Git Manual"
+.TH "GIT\-CLONE" "1" "04/20/2023" "Git 2\&.40\&.0\&.363\&.g9c6990" "Git Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
@@ -65,6 +65,10 @@ will override the default when
\fB/path/to/repo\fR
is given, using the regular Git transport instead\&.
.sp
+If the repository\(cqs
+\fB$GIT_DIR/objects\fR
+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\&.
+.sp
\fBNOTE\fR: this operation can race with concurrent modification to the source repository, similar to running
\fBcp \-r src dst\fR
while modifying