summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2021-02-06 00:31:26 (GMT)
committerJunio C Hamano <gitster@pobox.com>2021-02-06 00:31:26 (GMT)
commit9d36b1e9c2113c88003b668ba33cd2c9869a5c55 (patch)
tree2db1c2cfd0ecf7de3f39172e579403c296c10980
parent4f985d5aeb9667475903a3555d6b93f223d9ba8e (diff)
parenta4a1ca22ef913adf3de9e72e525a2cd436742009 (diff)
downloadgit-9d36b1e9c2113c88003b668ba33cd2c9869a5c55.zip
git-9d36b1e9c2113c88003b668ba33cd2c9869a5c55.tar.gz
git-9d36b1e9c2113c88003b668ba33cd2c9869a5c55.tar.bz2
Merge branch 'tb/local-clone-race-doc' into maint
Doc update. * tb/local-clone-race-doc: Documentation/git-clone.txt: document race with --local
-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 876aedc..02d9c19 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