arzzen / git-quick-stats

▁▅▆▃▅ Git quick statistics is a simple and efficient way to access various statistics in git repository.
https://git-quick-stats.sh/
MIT License
6.27k stars 249 forks source link

Wrong output when using Changelogs by author #161

Open Daraan opened 5 months ago

Daraan commented 5 months ago

Describe the bug

When using the interactive mode for 4) Git changelogs by author I get a wrong output

  1. One empty day listed to much
  2. Commits are not at the correct dates

To Reproduce Steps to reproduce the behavior:

Check our how git changelogs works for you.

An example I tested with an old Repository of mine

  1. Git clone https://github.com/Daraan/Shapes-Dataset.git
  2. git-quick-stats -L or use interactive mode
  3. Enter Daraan

Output:

[2022-03-24]
 * Update README.md (Daraan)

[2022-03-10]

[2022-03-09]
 * Update README.md (Daraan)
 * Update README.md (Daraan)
 * Added Classifier and images (Daraan)
 * Added generator and updated help (Daraan)

Expected behavior

There are 6 commits in this repository, the initial commit is missing and they are associated with the wrong date.

The correct output would be:

[2022-03-24]
 * Update README.md (Daraan)

[2022-03-10]
* Update README.md (Daraan)
* Update README.md (Daraan)
* Added Classifier and images (Daraan)
* Added generator and updated help (Daraan)

[2022-03-09]
 * Inital commit (Daraan)

Desktop (please complete the following information):

Additional Context

I used the way to install it via apt install git-quick-stats a few days ago. Maybe that is not the most up to date version? I am not sure how to check for the version though to verify.