[ 
https://issues.apache.org/jira/browse/SCM-885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17963522#comment-17963522
 ] 

ASF GitHub Bot commented on SCM-885:
------------------------------------

jira-importer commented on issue #1116:
URL: https://github.com/apache/maven-scm/issues/1116#issuecomment-2964646664

   **[Matthieu 
Brouillard](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=mcfoggy)**
 commented
   
   I have no problem with the fact that `git log` interprets `..VERSION` as 
`HEAD..VERSION`, my issue is that I want, using the API, to express 
`FIRST_COMMIT_OF_REPO..VERSION` ie provide a endVersion but no startVersion.
   
   If a user wants to express `HEAD..VERSION` he has the ability to do so by 
explicitly providing a startVersion of HEAD.
   
   With my change you can then express both `FIRST_COMMIT_OF_REPO..VERSION` and 
`HEAD..VERSION`.
   




> 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)

Reply via email to