update: add remaining status indicators to diff-tree regexp

As I understand it, we should never encounter these, but...
This commit is contained in:
Jack Nagel 2013-11-14 09:52:33 -06:00
parent 6163c2a98e
commit f42c7f1cc3

View File

@ -125,7 +125,7 @@ class Updater
end end
# Matches raw git diff format (see `man git-diff-tree`) # 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} ([ACDMRT])\d{0,3}\t(.+?)(?:\t(.+))?$/ DIFFTREE_RX = /^:[0-7]{6} [0-7]{6} [0-9a-fA-F]{40} [0-9a-fA-F]{40} ([ACDMRTUX])\d{0,3}\t(.+?)(?:\t(.+))?$/
def report def report
map = Hash.new{ |h,k| h[k] = [] } map = Hash.new{ |h,k| h[k] = [] }