rohan4naik opened a new pull request, #1469:
URL: https://github.com/apache/maven-scm/pull/1469

   JGit status omits untracked files and tracked files deleted on disk, 
allowing local-modification checks to miss them. Map `getUntracked()` to 
`UNKNOWN` and `getMissing()` to `DELETED`, as proposed in #1468, using the 
existing status conversion and file-set filter. This keeps the change at the 
status boundary rather than changing check-in or filter semantics.
   
   Four regression tests cover nested untracked files, ignored files, explicit 
file lists, missing files, and staged deletions. Three fail on the original 
source; all seven tests in `JGitStatusCommandTest` pass after the fix. `mvn 
-Prun-its verify` passes across the full reactor on JDK 17 (489 tests, 73 
skipped), including formatting/license checks. `git diff --check` passes.
   
   Release impact: untracked, non-ignored files can now block 
`check-local-modification` and `release:prepare` with JGit. The separate 
include-pattern limitation in #1459 is unchanged.
   
   Fixes #1468.
   
   AI-assisted with OpenAI Codex.
   
   ---
   
   - [x] I hereby declare this contribution to be licensed under the [Apache 
License Version 2.0, January 2004](https://www.apache.org/licenses/LICENSE-2.0)
   - [ ] I hereby declare that I have filed an [Apache Individual Contributor 
License Agreement](https://www.apache.org/licenses/icla.pdf).
   


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