Konrad Windszus created SCM-996:
-----------------------------------
Summary: Streamline checkIn operation in git providers with
respect to modified/added/removed files
Key: SCM-996
URL: https://issues.apache.org/jira/browse/SCM-996
Project: Maven SCM
Issue Type: Improvement
Components: maven-scm-provider-gitexe, maven-scm-provider-jgit
Reporter: Konrad Windszus
Currently {{ScmManager.checkIn(...)}} behaves differently for the different git
providers with respect to files which have not been added/removed with
ScmManager API before.
This is related to SCM-970, but aims at making both git providers behave the
same for the existing API.
The following table lists the status quo for modified files when
{{ScmManager.checkIn(...)}} is performed
||Provider||ScmManager.checkIn(...) with fileSet empty||ScmManager.checkIn(...)
with fileSet not empty
|git|index not modified prior commit|files in fileSet added to index prior
commit
|jgit|index updated for modified files prior commit|files in fileSet added to
index prior commit
--
This message was sent by Atlassian Jira
(v8.20.10#820010)