[#369] remove detecting renames from a diff stats method

This commit is contained in:
Alexander Machehin 2015-01-22 15:21:51 +05:00
parent dc2532c9bc
commit c71e05ad3c
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ module Grit
def diff_stats(a,b)
stats = []
Dir.chdir(path) do
lines = self.git.native(:diff, {numstat: true, M: true}, "#{a}...#{b}").split("\n")
lines = self.git.native(:diff, {numstat: true}, "#{a}...#{b}").split("\n")
while !lines.empty?
files = []
while lines.first =~ /^([-\d]+)\s+([-\d]+)\s+(.+)/