[#369] remove detecting renames from a diff stats method
This commit is contained in:
parent
dc2532c9bc
commit
c71e05ad3c
|
@ -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+(.+)/
|
||||
|
|
Loading…
Reference in New Issue