From c71e05ad3cae4893960394db2a7789f645706d17 Mon Sep 17 00:00:00 2001 From: Alexander Machehin Date: Thu, 22 Jan 2015 15:21:51 +0500 Subject: [PATCH] [#369] remove detecting renames from a diff stats method --- lib/ext/git/grit.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ext/git/grit.rb b/lib/ext/git/grit.rb index 5e67c2d26..62ca5dc6a 100644 --- a/lib/ext/git/grit.rb +++ b/lib/ext/git/grit.rb @@ -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+(.+)/