jira-importer commented on issue #887: URL: https://github.com/apache/maven-scm/issues/887#issuecomment-2964631342
**[Svend Hansen](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=svendhhh)** commented I've just noticed what the lines after the canonical path do. They seem to strip out the beginning of the path of the file if the file starts with the working directory. This explains why it would have been working on Linux. If the path was `/home/user/project/home/user/project/pom.xml` the canonical path call would probably still have worked (though the file wouldn't exist), and after stripping out the working directory it would have been back to just `/home/user/project/pom.xml`. If that's a correct understanding of the problem, I'm just not sure if it wouldn't just be better to add my change and remove the removing of the working directory (unless it's supposed to strip it down to just `pom.xml`? -- 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]
