You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by mi...@apache.org on 2022/08/17 17:51:22 UTC

[maven-scm] branch SCM-1000 created (now 9ec454c06)

This is an automated email from the ASF dual-hosted git repository.

michaelo pushed a change to branch SCM-1000
in repository https://gitbox.apache.org/repos/asf/maven-scm.git


      at 9ec454c06 [SCM-1000] check-local-modification ignoring excludes (scm:git)

This branch includes the following new commits:

     new 9ec454c06 [SCM-1000] check-local-modification ignoring excludes (scm:git)

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[maven-scm] 01/01: [SCM-1000] check-local-modification ignoring excludes (scm:git)

Posted by mi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

michaelo pushed a commit to branch SCM-1000
in repository https://gitbox.apache.org/repos/asf/maven-scm.git

commit 9ec454c06cb92af97d26f37e4d29b4b4a54d525a
Author: Michael Osipov <mi...@apache.org>
AuthorDate: Wed Aug 17 19:51:07 2022 +0200

    [SCM-1000] check-local-modification ignoring excludes (scm:git)
---
 .../scm/provider/git/gitexe/command/status/GitStatusCommand.java    | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-gitexe/src/main/java/org/apache/maven/scm/provider/git/gitexe/command/status/GitStatusCommand.java b/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-gitexe/src/main/java/org/apache/maven/scm/provider/git/gitexe/command/status/GitStatusCommand.java
index c73e3f3b2..3a61b728e 100644
--- a/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-gitexe/src/main/java/org/apache/maven/scm/provider/git/gitexe/command/status/GitStatusCommand.java
+++ b/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-gitexe/src/main/java/org/apache/maven/scm/provider/git/gitexe/command/status/GitStatusCommand.java
@@ -52,7 +52,7 @@ public class GitStatusCommand
 
         Commandline cl = createCommandLine( (GitScmProviderRepository) repo, fileSet );
 
-        GitStatusConsumer consumer = new GitStatusConsumer( fileSet.getBasedir(), relativeRepositoryPath );
+        GitStatusConsumer consumer = new GitStatusConsumer( fileSet.getBasedir(), relativeRepositoryPath, fileSet );
 
         stderr = new CommandLineUtils.StringStreamConsumer();
 
@@ -75,7 +75,7 @@ public class GitStatusCommand
 
     /**
      * Get the dir relative to the repository root.
-     * 
+     *
      * @param logger the caller command logger.
      * @param fileSet in which subdir to execute.
      * @return the relative URI.
@@ -113,7 +113,7 @@ public class GitStatusCommand
         cl.addArguments( new String[] { "--porcelain", "." } );
         return cl;
     }
-    
+
     public static Commandline createRevparseShowPrefix( ScmFileSet fileSet )
     {
         Commandline cl = GitCommandLineUtils.getBaseGitCommandLine( fileSet.getBasedir(), "rev-parse" );