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

GitExe Provider does not commit files in Cygwin

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 1.9.1, 1.9.2, 1.9.4, 1.9.5
    • 1.11.1
    • None
    • Cygwin and other bash variants

    Description

      In https://github.com/apache/maven-scm/blob/maven-scm-1.9.1/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-gitexe/src/main/java/org/apache/maven/scm/provider/git/gitexe/command/status/GitStatusConsumer.java#L214 a regression was introduced where modified files are not committed anymore.

      The problem is the isFile() method as is always returning false for a modified file, e.g. for "/cygwin/c/dev/project/pom.xml" it returns false.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            michael-o Michael Osipov
            christiangalsterer Christian Galsterer
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment