Skip to content

Commit 7ba4b9b

Browse files
committed
[SCM-1000] check-local-modification ignoring excludes (scm:git)
This closes #161
1 parent 18fb225 commit 7ba4b9b

File tree

1 file changed

+3
-3
lines changed
  • maven-scm-providers/maven-scm-providers-git/maven-scm-provider-gitexe/src/main/java/org/apache/maven/scm/provider/git/gitexe/command/status

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ protected StatusScmResult executeStatusCommand( ScmProviderRepository repo, ScmF
5252

5353
Commandline cl = createCommandLine( (GitScmProviderRepository) repo, fileSet );
5454

55-
GitStatusConsumer consumer = new GitStatusConsumer( fileSet.getBasedir(), relativeRepositoryPath );
55+
GitStatusConsumer consumer = new GitStatusConsumer( fileSet.getBasedir(), relativeRepositoryPath, fileSet );
5656

5757
stderr = new CommandLineUtils.StringStreamConsumer();
5858

@@ -75,7 +75,7 @@ protected StatusScmResult executeStatusCommand( ScmProviderRepository repo, ScmF
7575

7676
/**
7777
* Get the dir relative to the repository root.
78-
*
78+
*
7979
* @param logger the caller command logger.
8080
* @param fileSet in which subdir to execute.
8181
* @return the relative URI.
@@ -113,7 +113,7 @@ public static Commandline createCommandLine( GitScmProviderRepository repository
113113
cl.addArguments( new String[] { "--porcelain", "." } );
114114
return cl;
115115
}
116-
116+
117117
public static Commandline createRevparseShowPrefix( ScmFileSet fileSet )
118118
{
119119
Commandline cl = GitCommandLineUtils.getBaseGitCommandLine( fileSet.getBasedir(), "rev-parse" );

0 commit comments

Comments
 (0)