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
{{ message }}
This repository was archived by the owner on Jan 26, 2026. It is now read-only.
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)
Expected Behavior
The order of log entries are always same for any configurations if
options.commits.sort_byis not changed.Actual Behavior
The order of log entries differs for different configurations, even if
options.commits.sort_byis 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.0with 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