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

Maven SCM failed to parse "git status" output if git messages are translated

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.7
    • Fix Version/s: 1.8
    • Labels:
      None
    • Environment:
      Ubuntu Linux 11.10, Maven-3.0.4
    • Flags:
      Patch

      Description

      Maven SCM failed to parse "git status" output if git messages are
      translated. This breaks at least maven-release plugin.
      The issue is that GitStatusConsumer uses regular expressions to
      parse the output of "git status" and these regexps don't match
      anymore if git messages are translated. In order to avoid this, we
      should use the "--porcelain" option on "git status" to produce
      a machine readable output which can be parsed even if git messages
      are translated.
      I've attached a patch which solves the problem.

      Ralf

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                olamy Olivier Lamy
                Reporter:
                ralf.thielow Ralf Thielow
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: