You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by GitBox <gi...@apache.org> on 2021/01/20 20:39:42 UTC

[GitHub] [maven-scm] cquoss commented on a change in pull request #110: [SCM-948] Make the limit parameter work for git and svn exe

cquoss commented on a change in pull request #110:
URL: https://github.com/apache/maven-scm/pull/110#discussion_r561282580



##########
File path: maven-scm-api/src/main/java/org/apache/maven/scm/command/changelog/AbstractChangeLogCommand.java
##########
@@ -96,11 +122,25 @@ public ScmResult executeCommand( ScmProviderRepository repository, ScmFileSet fi
 
         if ( versionOnly )
         {
-            return executeChangeLogCommand( repository, fileSet, version, datePattern );
+            if ( limit == null )
+            {
+                return executeChangeLogCommand( repository, fileSet, version, datePattern );
+            }
+            else
+            {
+                return executeChangeLogCommand( repository, fileSet, version, datePattern, limit );

Review comment:
       OK. Will look into this and change it as requested.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org