Github user sergei-ivanov commented on the pull request:

    https://github.com/apache/maven-scm/pull/31#issuecomment-178984032
  
    Maven passes `release-pom.xml` and `pom.xml` to the `GitCheckInCommand`. 
Previously, it would attempt to `git add` both before doing the `git commit`. 
Naturally, that would fail for `release-pom.xml`, which was deleted, not added. 
The purpose of patch #31 was to run the status command and to figure out, which 
of the specified files actually need to be added. Unfortunately, `git status` 
returns paths relative to git root, and there appears to be a problem 
converting them back to the paths relative to the working directory. I have 
spent the last couple of hours trying to figure out what is going wrong there, 
and I think it works correctly when the git root is equal to or below the 
working directory, but does not work when the working directory is below the 
git root.


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