jira-importer commented on issue #866:
URL: https://github.com/apache/maven-scm/issues/866#issuecomment-2964630247

   **[Chris 
Graham](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=chrisgwarp)**
 commented
   
   Actually, getting back to the issue with the broken URL's, there is a better 
way, one that was already there:
   
   So, change:
   
       scmRepository = getScmManager().makeScmRepository( "scm:git:file:///" + 
repo.getAbsolutePath() );
   
   To:
   
       scmRepository = getScmManager().makeScmRepository( 
GitScmTestUtils.getScmUrl(repo, "git") );
   
   And you've got effectively the same thing. And, it now covers the cygwin 
stuff as well (so I'm assuming that it's better tested).
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to