Add file type change to git diff-tree regexp
Fixes Homebrew/homebrew#24286.
This commit is contained in:
		
							parent
							
								
									fbb7d80a32
								
							
						
					
					
						commit
						f41e1a3b83
					
				@ -123,7 +123,7 @@ class Updater
 | 
			
		||||
  end
 | 
			
		||||
 | 
			
		||||
  # Matches raw git diff format (see `man git-diff-tree`)
 | 
			
		||||
  DIFFTREE_RX = /^:[0-7]{6} [0-7]{6} [0-9a-fA-F]{40} [0-9a-fA-F]{40} ([ACDMR])\d{0,3}\t(.+?)(?:\t(.+))?$/
 | 
			
		||||
  DIFFTREE_RX = /^:[0-7]{6} [0-7]{6} [0-9a-fA-F]{40} [0-9a-fA-F]{40} ([ACDMRT])\d{0,3}\t(.+?)(?:\t(.+))?$/
 | 
			
		||||
 | 
			
		||||
  def report
 | 
			
		||||
    map = Hash.new{ |h,k| h[k] = [] }
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user