kwin commented on code in PR #152:
URL: https://github.com/apache/maven-scm/pull/152#discussion_r925226522


##########
maven-scm-providers/maven-scm-providers-git/maven-scm-provider-jgit/src/main/java/org/apache/maven/scm/provider/git/jgit/command/JGitUtils.java:
##########
@@ -308,7 +336,7 @@ public static List<ScmFile> addAllFiles( Git git, 
ScmFileSet fileSet )
 
             if ( file.exists() )
             {
-                String path = relativize( baseUri, file );
+                String path = relativize( workingCopyRootUri, file );
                 add.addFilepattern( path );
                 add.addFilepattern( file.getAbsolutePath() );

Review Comment:
   this can be removed



-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org

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

Reply via email to