chelnak / gh-changelog

A gh cli extension that will make your changelogs ✨
MIT License
113 stars 4 forks source link

Fixes root commit reference #24

Closed chelnak closed 2 years ago

chelnak commented 2 years ago

Prior to this commit, the last tag could potentially be compared with a commit that was not part of the current tree. This caused an invalid comparison.

This PR fixes that by using a git log equivalent to get the correct commit history.