You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When setting useLastCommittedRevision, git repos will return null.
If I am not mistaken, in git there is nothing but a last committed revision (i.e. no revision for current workspace).
if (useLastCommittedRevision) {
// It seemed the case that for git getLastChangedRevision()// returns null instead of the last revision in contradiction// to the above code: scmResult.getInfoItems().get(0);
Maybe it should either
throw an error
fetch the last version of the repo
Description is:
whether to retrieve the revision for the last commit, or the last revision of the repository.
So maybe it is in combination with doCheck = false // doUpdate = false?
The text was updated successfully, but these errors were encountered:
When setting
useLastCommittedRevision
, git repos will returnnull
.If I am not mistaken, in git there is nothing but a last committed revision (i.e. no revision for current workspace).
The code says:
https://github.com/mojohaus/buildnumber-maven-plugin/blob/master/src/main/java/org/codehaus/mojo/build/AbstractScmMojo.java#L272-L293
Maybe it should either
Description is:
So maybe it is in combination with doCheck = false // doUpdate = false?
The text was updated successfully, but these errors were encountered: