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

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.7
    • 1.8
    • None
    • Ubuntu Linux 11.10, Maven-3.0.4
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: