wait for first pass to complete before second pass
Otherwise the bloom filter may not be fully populated when the second pass starts, which could have led to incorrect behavior with --all -J, probably in very rare circumstances.
This commit is contained in:
		
					parent
					
						
							
								167da965b9
							
						
					
				
			
			
				commit
				
					
						b45b37b088
					
				
			
		
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -656,6 +656,7 @@ seekSyncContent o rs currbranch = do
 | 
			
		|||
				l <- workTreeItems ww (contentOfOption o)
 | 
			
		||||
				seekworktree mvar l (const noop)
 | 
			
		||||
				pure Nothing
 | 
			
		||||
	waitForAllRunningCommandActions
 | 
			
		||||
	withKeyOptions' (keyOptions o) False
 | 
			
		||||
		(return (commandAction . gokey mvar bloom))
 | 
			
		||||
		(const noop)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue