[
https://issues.apache.org/jira/browse/SCM-996?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17965159#comment-17965159
]
Olivier Lamy commented on SCM-996:
----------------------------------
This project has moved from Jira to GitHub Issues. This issue was migrated to
[apache/maven-scm#1204|https://github.com/apache/maven-scm/issues/1204]. Please
visit the GitHub issue to view further activity, add comments, or subscribe to
receive notifications.
> 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 (Moved to GitHub Issues)
> Issue Type: Improvement
> Components: maven-scm-provider-gitexe, maven-scm-provider-jgit
> Reporter: Konrad Windszus
> Priority: Major
>
> 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)