aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-11-14 09:24:28 -0600
committerJack Nagel2013-11-14 09:24:28 -0600
commitf41e1a3b835cc1c6339128d116d1c58d2da6d323 (patch)
treebe8c8dcdb7dbe7f8598fe61bc1bc8547d4903a5c /Library
parentfbb7d80a32c8714cdfb87e9855f9b0e1b7bd445f (diff)
downloadbrew-f41e1a3b835cc1c6339128d116d1c58d2da6d323.tar.bz2
Add file type change to git diff-tree regexp
Fixes Homebrew/homebrew#24286.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/update.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/update.rb b/Library/Homebrew/cmd/update.rb
index e6284b8a1..709e138ba 100644
--- a/Library/Homebrew/cmd/update.rb
+++ b/Library/Homebrew/cmd/update.rb
@@ -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] = [] }