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

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

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

   **[Tamas 
Cservenak](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=cstamas)**
 commented
   
   Just a few thoughts:
   * git whatchanged is kept only for "historical" reasons. From man: "New 
users are encouraged to use git-log instead. The whatchanged command is 
essentially the same as git-log but defaults to show the raw format diff output 
and to skip merges. The command is kept primarily for historical reasons..."
   * am using git 2.25.1 on my linux box and my output is like the first "used 
to be" output (but adds HEAD pointers like second one). Am unsure what may 
drive the output, it may be my env, but am unsure you can do it in "generic" 
way.
   * why not switch to git-log instead?
   
   My example output:
   
   ```
   commit 05b67a4f72f3f64306637ccdf0d2f800616dee5c (HEAD -> master, 
origin/master, origin/HEAD)
   Author: Tamas Cservenak <[email protected]>
   Date:   Mon Feb 7 19:33:01 2022 +0100
   
       [MINDEXER-104] Migrate to Lucene 8.x (#169)
       
       * Eliminate use of deprecated Lucene API
   ...       
   ```
   
   




> GitExe changelog does not work in if the user has defined a custom format
> -------------------------------------------------------------------------
>
>                 Key: SCM-976
>                 URL: https://issues.apache.org/jira/browse/SCM-976
>             Project: Maven SCM (Moved to GitHub Issues)
>          Issue Type: Bug
>          Components: maven-scm-provider-gitexe
>    Affects Versions: 2.0.0-M1
>            Reporter: Niels Basjes
>            Assignee: Michael Osipov
>            Priority: Major
>             Fix For: 1.13.0, 2.0.0-M2
>
>
> Since a long time the headers for the output of "git whatchanged" have been 
> changed, as a consequence there is no more output from this command.
> The reason is that the output of this command used to be something like this:
> {code}
> commit 2d22f2da71ef279c4759b1c09cdb8282b63f0cf6
> Author: Mark Struberg <[email protected]>
> Date:   2007-11-24 01:10:06 +0100
> {code}
> yet currently it looks like this:
> {code}
> commit 4fc34cfa14f2e72506187b03a492ce55ed459d4c (HEAD -> master, 
> origin/master, origin/HEAD)
> Author:     Michael Osipov <[email protected]>
> AuthorDate: 2022-01-08 21:02:12 +0100
> Commit:     Michael Osipov <[email protected]>
> CommitDate: 2022-01-08 21:02:12 +0100
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to