efegokdemir opened a new pull request, #1413: URL: https://github.com/apache/maven-scm/pull/1413
## Summary `JGitUtils.openRepo` now preserves parent-directory repository discovery while returning a `Git` instance configured to own the repository lifecycle. ## Changes - Resolve the repository using the existing parent-directory lookup. - Re-open it through JGit’s close-owning API. - Add regression coverage for nested working-directory discovery and close ownership. ## Testing - `mvn -pl maven-scm-providers/maven-scm-providers-git/maven-scm-provider-jgit -am -Dtest=JGitUtilsTest -Dsurefire.failIfNoSpecifiedTests=false -Dspotless.skip=true -Dcheckstyle.skip=true -Drat.skip=true test` — passed - `git diff --check` — passed The repository’s standard Spotless formatter could not be run locally because its bundled formatter is incompatible with the installed JDK 27. Fixes #1274 -- 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]
