[
https://issues.apache.org/jira/browse/SCM-624?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17964795#comment-17964795
]
Olivier Lamy commented on SCM-624:
----------------------------------
This project has moved from Jira to GitHub Issues. This issue was migrated to
[apache/maven-scm#832|https://github.com/apache/maven-scm/issues/832].
> Revision number parsing can fail with lots of unstaged changes
> --------------------------------------------------------------
>
> Key: SCM-624
> URL: https://issues.apache.org/jira/browse/SCM-624
> Project: Maven SCM (Moved to GitHub Issues)
> Issue Type: Bug
> Reporter: Kristian Rosenvold
> Assignee: Kristian Rosenvold
> Priority: Major
> Fix For: 1.6
>
>
> Atlassian Bamboo does a quationable check-out using jgit that leaves a lot of
> changes appearing on "git show", which subsequently confuses the parsing.
> Changing the command to use "git rev-parse --verify HEAD^{commit}" will
> always output just the sha1, reducing any chance of confusion in the parsing.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)