Jean-Noel Rouvignac opened SCM-991 and commented
GitDiffConsumer keep outputting Unparseable line: when diffing a commit where a file was moved using {}git mv{}.
The Unparseable line: message is output by [GitDiffConsumer.consumeLine()](https://github.com/apache/maven-scm/blob/master/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-git-commons/src/main/java/org/apache/maven/scm/provider/git/command/diff/GitDiffConsumer.java) because the code does not know how to handle the line starting with "similarity":
diff --git a/org/pager/PagerTest.java b/org/pager/LocalPagerTest.java
similarity index 87%
rename from org/pager/PagerTest.java
rename to org/pager/LocalPagerTest.java
index 5d0f7b7705..90c87686c7 100644
--- a/org/pager/PagerTest.java
+++ b/org/pager/LocalPagerTest.java
@@ -30,7 +30,7 @@ import org.testng.annotations.DataProvider;
import org.testng.annotations.Test;
@Test
-public class PagerTest {
+public class LocalPagerTest {
I am using git version 2.25.1 .
Attachments:
Remote Links:
Jean-Noel Rouvignac opened SCM-991 and commented
GitDiffConsumerkeep outputtingUnparseable line:when diffing a commit where a file was moved using{}git mv{}.The
Unparseable line:message is output by[GitDiffConsumer.consumeLine()](https://github.com/apache/maven-scm/blob/master/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-git-commons/src/main/java/org/apache/maven/scm/provider/git/command/diff/GitDiffConsumer.java)because the code does not know how to handle the line starting with "similarity":I am using git version 2.25.1 .
Attachments:
Remote Links: