use fileEncoding for git-update-index input handle
This commit is contained in:
		
					parent
					
						
							
								586be39952
							
						
					
				
			
			
				commit
				
					
						dc682e53a2
					
				
			
		
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -57,6 +57,7 @@ update_index repo ls = stream_update_index repo [(`mapM_` ls)]
 | 
			
		|||
stream_update_index :: Repo -> [Streamer] -> IO ()
 | 
			
		||||
stream_update_index repo as = do
 | 
			
		||||
	(p, h) <- hPipeTo "git" (toCommand $ gitCommandLine params repo)
 | 
			
		||||
	fileEncoding h
 | 
			
		||||
	forM_ as (stream h)
 | 
			
		||||
	hClose h
 | 
			
		||||
	forceSuccess p
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue