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

GitExe Provider does not commit files in Cygwin

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.9.1, 1.9.2, 1.9.4, 1.9.5
    • Fix Version/s: 1.11.1
    • Labels:
      None
    • Environment:
      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

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: