cookpete/auto-changelog

Bug - commits skipped with same subject as merge body

valentinab25 opened this issue · 0 comments

Hello,

I have replicated the problem in the valentinab25/auto-changelog fork, on the master branch - https://github.com/valentinab25/auto-changelog/commits/master ( https://github.com/valentinab25/auto-changelog/compare/1.1.0...master )

If you run auto-changelog using the default template on unreleased commits, you will have missing commits - "test1" :

npx auto-changelog --stdout --sort-commits date-desc --commit-limit false -u --sort-commits subject --template https://raw.githubusercontent.com/release-it/release-it/master/templates/keepachangelog.hbs  | head -n 20

All commits with message "test1" are missing because I created a PR (https://github.com/valentinab25/auto-changelog/pull/10) that was merged in master with the same body "test1"

I have tested and replicated this problem, any commits with the same subject as the body of any merge are skipped from auto-changelog

Thank you