|
@@ -399,7 +399,12 @@ if ($chk_branch) {
|
|
|
my $num_patches = @patches;
|
|
|
for my $hash (@patches) {
|
|
|
my $FILE;
|
|
|
- open($FILE, '-|', "git", "show", "--patch-with-stat", $hash) ||
|
|
|
+ open($FILE, '-|', "git",
|
|
|
+ "-c", "diff.renamelimit=0",
|
|
|
+ "-c", "diff.renames=True",
|
|
|
+ "-c", "diff.algorithm=histogram",
|
|
|
+ "show",
|
|
|
+ "--patch-with-stat", $hash) ||
|
|
|
die "$P: git show $hash - $!\n";
|
|
|
while (<$FILE>) {
|
|
|
chomp;
|