Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
1.7
-
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
Attachments
Issue Links
- is duplicated by
-
SCM-738 GitStatusConsumer fails to correctly parse git 1.8.5 status output
- Closed
- is related to
-
SCM-709 REGRESSION: git status doesn't work if repository root is not the working directory
- Closed
-
MRELEASE-812 "prepare" does not commit before tagging and therefore deploys snapshot instead of release
- Closed