Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2021-01-16 08:48:47 +0300
committerJunio C Hamano <gitster@pobox.com>2021-01-16 08:48:47 +0300
commit8782bfbf01a367e77079c4d835328ca4c5da1561 (patch)
tree6947381de1efd01b2463ecd7a66aadd7acc42b93 /Documentation
parent644d85e751da29511ea2d92b6cc2ab913ecf2f3e (diff)
parenta4a1ca22ef913adf3de9e72e525a2cd436742009 (diff)
Merge branch 'tb/local-clone-race-doc'
Doc update. * tb/local-clone-race-doc: Documentation/git-clone.txt: document race with --local
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-clone.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/git-clone.txt b/Documentation/git-clone.txt
index 876aedcd47..02d9c19cec 100644
--- a/Documentation/git-clone.txt
+++ b/Documentation/git-clone.txt
@@ -57,6 +57,10 @@ repository is specified as a URL, then this flag is ignored (and we
never use the local optimizations). Specifying `--no-local` will
override the default when `/path/to/repo` is given, using the regular
Git transport instead.
++
+*NOTE*: this operation can race with concurrent modification to the
+source repository, similar to running `cp -r src dst` while modifying
+`src`.
--no-hardlinks::
Force the cloning process from a repository on a local