Open cjorge-graphops opened 1 year ago
Thanks for opening your first issue at git-cliff! Be sure to follow the issue template! ⛰️
I am seeing the same issue as @cjorge-graphops
I had the same issue that the first (inital) commit would not show up when using --include-path
. I could track the issue to https://github.com/orhun/git-cliff/blob/9dbf47bac596be7bacc335e8afa3cdc383dc8ebb/git-cliff-core/src/repo.rs#L79, where the parent commit is looked up. As the initial commit does not have a parent, the then-path is not followed and the commit is not included.
As diff_tree_to_tree allows to have one of the tree to be None
, this could be given as old_tree.
I am seeing the same issue:
git log scoped to my directory shows commits with associated tags
if I run git cliff with just the tag-pattern, then it picks up the correct tag style and determines version based on the full history of my repo
but with include-path it ceases to find the tags
I want to be able to tag/version sub-directories of my repository in order to support a monorepo container factory, was hoping git cliff could give me that natively
Describe the bug
When using --include-path, the first release tag goes missing. Also, if there is a tag that points to a commit that is filtered out by --include-path, then that tag no longer shows on the change log and the commits that do show, show as unreleased instead.
To reproduce
I'm running the following script to reproduce the issues:
Expected behavior
I expected that when using --include-path, all the first three releases would show on the change log and instead the first one is missing. I get this, which misses release-v0.1.0 tag:
Regarding release-v0.4.0, I would expect it to show on change log but the relevant commit shows as unreleased:
Software information