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
commit1153d0f9e20d0b6a19203707b609634f8fea1ad5 (patch)
tree845739ff3ddb71a36e0e9218e173f04cf5bf0a87 /Library
parenta96e1c78ff5792966a087a0db4dec3bece191ca3 (diff)
downloadhomebrew-1153d0f9e20d0b6a19203707b609634f8fea1ad5.tar.bz2
Add file type change to git diff-tree regexp
Fixes #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] = [] }