TL;DR filter commits by path on changelog generation works, but untested.
As discussed in #158, after this comment. One of the tasks to enabling per monorepo package changelogs is to filter commits from a folder.
The dependency responsible for fetching raw commits enables the path option from git log as seen in the docs here
Help Needed
[ ] how to test this behavior with jest?
I've searched earlier this week how does git stores and tracks the folder structure, but could not understand enough to write a test case to improve code coverage with the new getCommits path option
Summary
TL;DR filter commits by path on changelog generation works, but untested.
As discussed in #158, after this comment. One of the tasks to enabling per monorepo package changelogs is to filter commits from a folder.
The dependency responsible for fetching raw commits enables the path option from
git log
as seen in the docs hereHelp Needed
getCommits
path optionMissing features
Test Plan
FunctionalError: No changes found. You may need to fetch or pull the last changes.
packages/gitmoji-changelog-cli
)Miscellaneous
Added
Miscellaneous