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
The order of log entries are always same for any configurations if options.commits.sort_by is not changed.
Actual Behavior
The order of log entries differs for different configurations, even if options.commits.sort_by is not changed.
This means the sorting for commit is performed with an unstable sort algorithm.
There are differences not only for removed lines but also for added lines. This is caused for the order of logs changed.
I found this behavior when I updated the git-chglog configuration for my repository to pick new commits. I expected new logs, but didn't expected changing the order of logs.
Screenshot on This Problem (if possible)
N/A
Your Environment
OS: golang:1.19.1-bullseye (Tested with docker)
git-chglog version: v0.15.1 (Built in golang:1.19.1-bullseye)
The text was updated successfully, but these errors were encountered:
ikedam
added a commit
to ikedam/git-chglog
that referenced
this issue
Sep 17, 2022
Expected Behavior
The order of log entries are always same for any configurations if
options.commits.sort_by
is not changed.Actual Behavior
The order of log entries differs for different configurations, even if
options.commits.sort_by
is not changed.This means the sorting for commit is performed with an unstable sort algorithm.
Steps to Reproduce (including precondition)
Create a changelog for
git-chglog@v0.11.0
:Change the configuration:
Create a changelog for
git-chglog@v0.11.0
with the new configuration:Compare them:
I found this behavior when I updated the git-chglog configuration for my repository to pick new commits. I expected new logs, but didn't expected changing the order of logs.
Screenshot on This Problem (if possible)
N/A
Your Environment
The text was updated successfully, but these errors were encountered: