Uploaded image for project: 'Maven SCM'
  1. Maven SCM
  2. SCM-996

Streamline checkIn operation in git providers with respect to modified/added/removed files

    XMLWordPrintableJSON

Details

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kwin Konrad Windszus
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: