Documentation/git-clone.txt: document race with --local
When running 'git clone --local', the operation may fail if another process is modifying the source repository. Document that this race condition is known to hopefully help anyone who may run into it. Suggested-by: Junio C Hamano <gitster@pobox.com> Signed-off-by: Taylor Blau <me@ttaylorr.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>maint
							parent
							
								
									71ca53e812
								
							
						
					
					
						commit
						a4a1ca22ef
					
				| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue