Skip to content

Commit 8782bfb

Browse files
committed
Merge branch 'tb/local-clone-race-doc'
Doc update. * tb/local-clone-race-doc: Documentation/git-clone.txt: document race with --local
2 parents 644d85e + a4a1ca2 commit 8782bfb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Documentation/git-clone.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@ repository is specified as a URL, then this flag is ignored (and we
5757
never use the local optimizations). Specifying `--no-local` will
5858
override the default when `/path/to/repo` is given, using the regular
5959
Git transport instead.
60+
+
61+
*NOTE*: this operation can race with concurrent modification to the
62+
source repository, similar to running `cp -r src dst` while modifying
63+
`src`.
6064

6165
--no-hardlinks::
6266
Force the cloning process from a repository on a local

0 commit comments

Comments
 (0)