[ https://issues.apache.org/jira/browse/SCM-885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17963533#comment-17963533 ]
ASF GitHub Bot commented on SCM-885: ------------------------------------ jira-importer commented on issue #1116: URL: https://github.com/apache/maven-scm/issues/1116#issuecomment-2964646694 **[Matthieu Brouillard](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=mcfoggy)** commented > The more I think about it.... > > ``` > START.. > START..END > END > ``` That's a bit what I initialy wanted to do with the initial PR. But then how would you differenciate `..END` from `END` by the usage for the later of `CommandParameter.SCM_VERSION` instead of `CommandParameter.END_SCM_VERSION`? Now that I have a better overview of the code, I think it could be the best solution. This will end for changelog command in git world: |START_SCM_VERSION|END_SCM_VERSION|SCM_VERSION|git whatchanged parameters|Description| |:---|:---|:---|:---|:---| | A | B | any, not used | A..B | commits between B and A, A being an ancestor of B otherwise empty, without A | | null | B | any, not used | ..B | commits between B and HEAD, HEAD being an ancestor of B otherwise empty, without HEAD | | A | null | any, not used | A.. | commits between HEAD and A, A being an ancestor of HEAD otherwise empty, without A | | null | null | V | V | all ancestor commits starting from V | Do you agree that it is the way to go? > Extend GitChangeLogCommand by using revision only > ------------------------------------------------- > > Key: SCM-885 > URL: https://issues.apache.org/jira/browse/SCM-885 > Project: Maven SCM (Moved to GitHub Issues) > Issue Type: Improvement > Components: maven-scm-provider-gitexe, maven-scm-provider-jgit > Affects Versions: 1.9.5 > Reporter: Matthieu Brouillard > Assignee: Michael Osipov > Priority: Major > Fix For: 1.10.0 > > Attachments: scm-885-different-behavior-exe-jgit-patch.diff > > > Invoking execution of a GitChangeLogCommand where only the end revision has > been set produces a wrong out. > +Actual result:+ > {{git whatchanged --date=iso ..END_REVISION_SHA1 -- PROJECT_PATH}} > +Expected result:+ only the end revison SHA1 is used without the two dots > {{git whatchanged --date=iso END_REVISION_SHA1 -- PROJECT_PATH}} -- This message was sent by Atlassian Jira (v8.20.10#820010)