efegokdemir opened a new pull request, #1412: URL: https://github.com/apache/maven-scm/pull/1412
## Summary `check-local-modification` ignored Git `??` status entries, so untracked files did not cause the build to fail as expected. Treat untracked paths as added SCM files. ## Changes - Parse Git `??` status lines as `ScmFileStatus.ADDED`. - Extend status-consumer regression coverage for untracked files and fixture logs. ## Testing - `JAVA_HOME=/opt/homebrew/opt/openjdk@21 mvn -B -ntp -pl maven-scm-providers/maven-scm-providers-git/maven-scm-provider-gitexe -am -Dtest=GitStatusConsumerTest -Dsurefire.failIfNoSpecifiedTests=false test` — passed (23 tests) - `git diff --check` — passed ## AI assistance OpenAI Codex assisted with issue investigation, implementation, regression tests, and validation. The submitted changes were reviewed locally. Fixes #1170 -- 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]
