Skip to content

Commit

Permalink
[SCM-1000] check-local-modification ignoring excludes (scm:git)
Browse files Browse the repository at this point in the history
This closes #161
  • Loading branch information
michael-o committed Aug 18, 2022
1 parent 18fb225 commit 7ba4b9b
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ protected StatusScmResult executeStatusCommand( ScmProviderRepository repo, ScmF

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();

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

/**
* 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.
Expand Down Expand Up @@ -113,7 +113,7 @@ public static Commandline createCommandLine( GitScmProviderRepository repository
cl.addArguments( new String[] { "--porcelain", "." } );
return cl;
}

public static Commandline createRevparseShowPrefix( ScmFileSet fileSet )
{
Commandline cl = GitCommandLineUtils.getBaseGitCommandLine( fileSet.getBasedir(), "rev-parse" );
Expand Down

0 comments on commit 7ba4b9b

Please sign in to comment.