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:23 UTC
[maven-scm] 01/01: [SCM-1000] check-local-modification ignoring excludes (scm:git)
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" );