Github user sergei-ivanov commented on the issue:

    https://github.com/apache/maven-scm/pull/31
  
    I need help with that from the Apache team.
    In the original version of `GitCheckInCommand`, just before committing, the 
list of files to be committed was passed to `git add`. This ensured that all 
the new files were staged into the commit.
    Unfortunately, it did not work when there were deleted files in that list. 
So, the patched version attempts to check `git status` on each of the files in 
the list, in order to filter out the deleted files from the list. See the 
changes in `GitCheckInCommand`.
    Here is a problem though. Some of the git commands assume file paths 
relative to the working directory, while the other work with paths relative to 
the git repository root. Accordingly, the file paths need to be converted back 
and forth, and it seems that at some point we have a mismatch.
    This caused grief previously 
(https://issues.apache.org/jira/browse/SCM-709) and it looks like we are 
observing yet another manifestation of the same problem.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to